paulk-asert opened a new pull request, #3296:
URL: https://github.com/apache/groovy/pull/3296

   …by the named-arg variant
   
   - give the named-arg variant its own copies of positional parameters with 
default values, so its default-argument variants are generated, and report a 
clash of such a variant with a declared member as an error
   - build a @NamedDelegate referenced by a default value once and share it (a 
local in methods, a private helper constructor for constructors); a positional 
default value that references a @NamedDelegate is an error
   - rewrite references to earlier parameters in default values at any depth
   - report a default value that references a parameter from within a closure 
as an error instead of failing in class generation
   - don't treat the delegate's subMap call as an implicit-this call, so a 
@NamedVariant constructor with a @NamedDelegate compiles dynamically


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to