You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2026/04/25 20:45:15 UTC
(groovy-website) 01/02: draft GEP for additional multi-assignment forms (minor tweaks)
This is an automated email from the ASF dual-hosted git repository.
paulk-asert pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git
commit 5fbacb66a0add8b4c7c10810731c9bb27c29cc1b
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sun Apr 26 06:42:15 2026 +1000
draft GEP for additional multi-assignment forms (minor tweaks)
---
site/src/site/wiki/GEP-20.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/site/src/site/wiki/GEP-20.adoc b/site/src/site/wiki/GEP-20.adoc
index dab0082..d04b0b2 100644
--- a/site/src/site/wiki/GEP-20.adoc
+++ b/site/src/site/wiki/GEP-20.adoc
@@ -56,7 +56,7 @@ bracket form, no marker words) while filling the gaps.
=== Design principles
-* *Strictly additive* — every program valid in Groovy 5 / 6 compiles
+* *Strictly additive* — every program valid in Groovy 4 / 5 compiles
with identical semantics. New forms use grammar that fails to parse
today.
@@ -485,7 +485,7 @@ GEP-19 pattern matching); others are not planned.
later without grammar collision
|Per-binder modifiers (e.g. `def (final a, b) = …`)
-|Not planned
+|Deferred
|Modifiers belong on the outer declaration: `final (a, b) = [1, 2]`
makes both binders final and propagates to rest and map-style
binders too. Per-binder modifiers would only enable mixed-modifier