groovy-notifications mailing list archives

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

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

ASF GitHub Bot commented on GROOVY-8851:
----------------------------------------

GitHub user danielsun1106 opened a pull request:

    https://github.com/apache/groovy/pull/813

    GROOVY-8851: Refine safe indexing for named properties

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/danielsun1106/groovy refine-safe-index

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/groovy/pull/813.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #813
    
----
commit 27fc472e1ca1f1242a31cac93138dd318cdbbcec
Author: danielsun1106 <realbluesun@...>
Date:   2018-10-20T07:24:34Z

    GROOVY-8851: Refine safe indexing for named properties

----


> 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