[
https://issues.apache.org/jira/browse/GROOVY-7911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430547#comment-15430547
]
ASF GitHub Bot commented on GROOVY-7911:
----------------------------------------
GitHub user paulk-asert opened a pull request:
https://github.com/apache/groovy/pull/391
GROOVY-7911: Chained multiple assignment parsing fail
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/paulk-asert/groovy groovy7911
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/groovy/pull/391.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 #391
----
commit 85b0d752b41815b5bcf6b98537f6c0e13a422c6a
Author: paulk <[email protected]>
Date: 2016-08-22T10:53:13Z
GROOVY-7911: Chained multiple assignment parsing fail
----
> 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)