groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniil Ovchinnikov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GROOVY-7911) Chained multiple assignment parsing fail
Date Thu, 18 Aug 2016 14:40:20 GMT
Daniil Ovchinnikov created GROOVY-7911:
------------------------------------------

             Summary: Chained multiple assignment parsing fail
                 Key: GROOVY-7911
                 URL: https://issues.apache.org/jira/browse/GROOVY-7911
             Project: Groovy
          Issue Type: Bug
          Components: parser
            Reporter: Daniil Ovchinnikov


{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] 
{code}



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

Mime
View raw message