groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GROOVY-7852) Inconsistent checking of final for multi-assignments
Date Thu, 02 Jun 2016 01:05:59 GMT
Paul King created GROOVY-7852:
---------------------------------

             Summary: Inconsistent checking of final for multi-assignments
                 Key: GROOVY-7852
                 URL: https://issues.apache.org/jira/browse/GROOVY-7852
             Project: Groovy
          Issue Type: Bug
            Reporter: Paul King
            Assignee: Paul King


The following code passes but should fail final variable analysis:
{code}
final x = 3
def y = 4
(x, y) = [30, 40]
assert x + y == 70
{code}



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

Mime
View raw message