This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-dev-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new ede59be 2026/04/12 07:38:21: Generated dev website from
groovy-website@8e98db7
ede59be is described below
commit ede59be0d1275f13dd347dc570c3a3f2e421d51f
Author: jenkins <[email protected]>
AuthorDate: Sun Apr 12 07:38:21 2026 +0000
2026/04/12 07:38:21: Generated dev website from groovy-website@8e98db7
---
search/search-index.json | 2 +-
wiki/GEP-15.html | 11 +++++++----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/search/search-index.json b/search/search-index.json
index 18151d2..e07f8e5 100644
--- a/search/search-index.json
+++ b/search/search-index.json
@@ -800,7 +800,7 @@
{
"id": "wiki/GEP-15.html",
"title": "The Apache Groovy programming language - Developer docs -
GEP-15",
- "content": "The Apache Groovy programming language - Developer docs -
GEP-15 Socialize Discuss on the mailing list Groovy on X Groovy on Bluesky
Groovy on Mastodon Groovy on LinkedIn Events and conferences Source code on
GitHub Report issues in Jira Stack Overflow questions Slack Community You are
using an outdated browser. Please upgrade your browser to improve your
experience. Apache Groovy™ Learn Documentation Download Support
Contribute Ecosystem Blog posts Socialize = [...]
+ "content": "The Apache Groovy programming language - Developer docs -
GEP-15 Socialize Discuss on the mailing list Groovy on X Groovy on Bluesky
Groovy on Mastodon Groovy on LinkedIn Events and conferences Source code on
GitHub Report issues in Jira Stack Overflow questions Slack Community You are
using an outdated browser. Please upgrade your browser to improve your
experience. Apache Groovy™ Learn Documentation Download Support
Contribute Ecosystem Blog posts Socialize = [...]
"url": "wiki/GEP-15.html",
"site": "dev"
},
diff --git a/wiki/GEP-15.html b/wiki/GEP-15.html
index 80b1a9e..dfac643 100644
--- a/wiki/GEP-15.html
+++ b/wiki/GEP-15.html
@@ -117,7 +117,12 @@ Kotlin maps `\+=` to `plusAssign()` when available,
falling back to
* Changing the behavior of `++` and `--` operators (these use
`next()`/`previous()`
and are conceptually different).
* Changing subscript compound assignment (`a[i] += b`), which uses the existing
- `getAt`/`putAt` pattern.
+ `getAt`/`putAt` pattern. A future GEP might explore a two-argument
+ `plusAssign(key, value)` convention where `a[key] += b` maps to
+ `a.plusAssign(key, b)`, allowing containers to handle compound updates
+ atomically. Multi-dimensional cases like `a[i][j] += b` would resolve
+ naturally by peeling subscripts from the left: evaluate `a.getAt(i)` to
+ get the inner container, then apply the single-dimension rule to that result.
=== Operator method name mapping
@@ -129,8 +134,7 @@ Kotlin maps `\+=` to `plusAssign()` when available, falling
back to
| `-=` | `minusAssign` | `minus`
| `*=` | `multiplyAssign` | `multiply`
| `/=` | `divAssign` | `div`
-| `%=` | `modAssign` | `mod`
-| `%%=` | `remainderAssign` | `remainder`
+| `%=` | `remainderAssign` | `remainder`
| `**=` | `powerAssign` | `power`
| `<\<=` | `leftShiftAssign` | `leftShift`
| `>>=` | `rightShiftAssign` | `rightShift`
@@ -138,7 +142,6 @@ Kotlin maps `\+=` to `plusAssign()` when available, falling
back to
| `&=` | `andAssign` | `and`
| `\|=` | `orAssign` | `or`
| `^=` | `xorAssign` | `xor`
-| `//=` | `intdivAssign` | `intdiv`
|===
=== Resolution algorithm