[jira] [Created] (GROOVY-8888) Strict @NamedParams

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Created] (GROOVY-8888) Strict @NamedParams

JIRA jira@apache.org
Vladimír Oraný created GROOVY-8888:

             Summary: Strict @NamedParams
                 Key: GROOVY-8888
                 URL: https://issues.apache.org/jira/browse/GROOVY-8888
             Project: Groovy
          Issue Type: Improvement
            Reporter: Vladimír Oraný

Thanks, [~paulk] for explaining how does all the "@Named*" annotation works. I have one suggestion for improvement:

At the moment when you add an extra entry in the map, the static compiler won't complain. Would be nice to add "strict" property to "@NamedParams" which will make any additional entry illegal.

This message was sent by Atlassian JIRA