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

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

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

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/GROOVY-8888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16690850#comment-16690850 ]

Paul King commented on GROOVY-8888:
-----------------------------------

As per GROOVY-7632, this is a 2.5.5+ feature. But if you can test out the snapshot, that would be great.

> Strict @NamedParams
> -------------------
>
>                 Key: GROOVY-8888
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8888
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: VladimĂ­r OranĂ˝
>            Priority: Major
>
> 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
(v7.6.3#76005)