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-7911) Chained multiple assignment parsing fail
Date Wed, 24 Aug 2016 07:33:21 GMT

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

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

Github user asfgit closed the pull request at:

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


> Chained multiple assignment parsing fail
> ----------------------------------------
>
>                 Key: GROOVY-7911
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7911
>             Project: Groovy
>          Issue Type: Improvement
>          Components: parser
>            Reporter: Daniil Ovchinnikov
>            Assignee: Paul King
>
> {code}
> def a, b, c, d
> (a, b) = [1, 2]           
> (c, d) = (a, b) = [1, 2]  // fails, ')' expected after 'a'
> (c, d) = a = (a, b) = [1, 2] // works though
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message