You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/05/20 23:47:00 UTC
[jira] [Updated] (GROOVY-8851) [PARROT] Refine safe indexing for
maps/named properties
[ https://issues.apache.org/jira/browse/GROOVY-8851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King updated GROOVY-8851:
------------------------------
Summary: [PARROT] Refine safe indexing for maps/named properties (was: Refine safe indexing for named properties)
> [PARROT] Refine safe indexing for maps/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)