[
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)