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


The following commit(s) were added to refs/heads/asf-site by this push:
     new 4760769  release note tweaks
4760769 is described below

commit 4760769689c60a4e35e2fbe2d5be260604134712
Author: Paul King <[email protected]>
AuthorDate: Sun May 10 15:13:41 2026 +1000

    release note tweaks
---
 site/src/site/releasenotes/groovy-6.0.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/site/src/site/releasenotes/groovy-6.0.adoc 
b/site/src/site/releasenotes/groovy-6.0.adoc
index 7304f65..6b0bdc5 100644
--- a/site/src/site/releasenotes/groovy-6.0.adoc
+++ b/site/src/site/releasenotes/groovy-6.0.adoc
@@ -1355,8 +1355,8 @@ final (name: n, age: a)        = [name: 'A', age: 1]      
 // both `n` and `a` a
 
 === `_` for unwanted slots
 
-The "discard" convention (`def (_, y, m) = Calendar.instance`) applies
-uniformly across every new form. `_` is a regular identifier
+The "discard" convention, e.g. `def (+_+, y, m) = Calendar.instance`,
+applies uniformly across every new form. `+_+` is a regular identifier
 throughout -- no wildcard semantics, no special parser node:
 
 [source,groovy]
@@ -2605,7 +2605,7 @@ per resolved transform class
 For example: 
`config.addCompilationCustomizers(*ASTTransformationCustomizer.forAnnotation(Sealed))`.
 * Static compilation now supports *serializable method references* and
 serializable lambdas. When the target functional interface is a
-`Serializable` intersection type (e.g.&nbsp;`(Function & Serializable)`),
+`Serializable` intersection type (e.g. `(Function & Serializable)`),
 the generated synthetic class implements `Serializable` and emits the
 required `$deserializeLambda$` plumbing, so the resulting reference
 or lambda can be persisted, sent across JVMs, or used in frameworks

Reply via email to