[ https://issues.apache.org/jira/browse/GROOVY-8419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-8419. ----------------------------- > Groovyc: The variable ... is declared final but is reassigned > ------------------------------------------------------------- > > Key: GROOVY-8419 > URL: https://issues.apache.org/jira/browse/GROOVY-8419 > Project: Groovy > Issue Type: Bug > Components: Compiler > Affects Versions: 2.5.0-beta-2 > Reporter: mgroovy > Priority: Minor > > Under Groovy apache-groovy-binary-2.5.0-beta-2 the following code > {code} > final Map<Table, Table> tableTableMap = new > TreeMap<>(Table.tableNameAndNameComparator).withDefault { final Table t -> > final tNew = new TableMapEntry(t, tableTableAliasMap) > return tNew > } > {code} > throws > {code} > Error:(214, 3) Groovyc: The variable [tNew] is declared final but is > reassigned > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)