[ 
https://issues.apache.org/jira/browse/GROOVY-8602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King closed GROOVY-8602.
-----------------------------
    Resolution: Won't Fix

I am going to close this as won't fix for the current Class case. There was 
discussion in the mailing list about support for a more general Map getAt 
variant. We can certainly consider that but let's do that as a separate issue 
if there is interest. We'd need to work out the normal semantics first and then 
I imagine add a DGM getAt method for Class. Then we could consider safe index 
in the context of that proposal.

> Safe index doesn't work with map arguments
> ------------------------------------------
>
>                 Key: GROOVY-8602
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8602
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Daniil Ovchinnikov
>            Priority: Minor
>
> {{a[b:2]}} works.
> {{a?[b:2]}} produces {{Unexpected input: '<EOF>'; Expecting ':' @ ...}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to