groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sun (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-8851) Refine safe indexing for named properties
Date Sat, 20 Oct 2018 08:21:00 GMT

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

Daniel Sun resolved GROOVY-8851.
--------------------------------
    Resolution: Fixed

Fixed by https://github.com/apache/groovy/commit/ed17fb24dc3e2045c1f83c63cfedfa9e870397f2

> Refine safe indexing for named properties
> -----------------------------------------
>
>                 Key: GROOVY-8851
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8851
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Daniel Sun
>            Assignee: Daniel Sun
>            Priority: Minor
>             Fix For: 3.0.0-alpha-4
>
>
> Groovy can create instance via some syntax like {{SpecialSafeIndex[name: 'Daniel.Sun',
location: 'Shanghai']}}, but it does not allow the safe indexing, e.g. {{SpecialSafeIndex?[name:
'Daniel.Sun', location: 'Shanghai']}}. We should refine it for consistence in syntax.
> P.S. The topic was discussed in the mailing list before.



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

Mime
View raw message