[
https://issues.apache.org/jira/browse/GROOVY-7911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King resolved GROOVY-7911.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.5.0-beta-1
Proposed PR merged. Thanks for spotting the issue.
> 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
> Fix For: 2.5.0-beta-1
>
>
> {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)