You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (JIRA)" <ji...@apache.org> on 2018/10/20 07:20:00 UTC
[jira] [Created] (GROOVY-8851) Refine safe indexing for named
properties
Daniel Sun created GROOVY-8851:
----------------------------------
Summary: 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
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)