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

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

I'd expect you'd see it with the 2.5.5 SNAPSHOT if no caching is going on:

https://github.com/apache/groovy/blob/GROOVY_2_5_X/src/test/groovy/NamedParameterTest.groovy#L97

It should also be in the latest 3.0.0 snapshot. We aren't going forward with 
2.6, so I wouldn't expect to see it there.

> 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)

Reply via email to