[ 
https://issues.apache.org/jira/browse/GROOVY-7852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King updated GROOVY-7852:
------------------------------
    Component/s: Compiler

> Inconsistent checking of final for multi-assignments
> ----------------------------------------------------
>
>                 Key: GROOVY-7852
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7852
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>            Reporter: Paul King
>            Assignee: Paul King
>             Fix For: 2.5.0-beta-1
>
>
> 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)

Reply via email to