Details
Description
The following one-liner script using multiple assignment crashes Groovy:
def (a,b) = [1,2]
I.e. when I type in console
groovy A.groovy
I get an error message:
Caught: BUG! exception in phase 'conversion' in source unit 'A.groovy' org.codehaus.groovy.ast.expr.ArgumentListExpression cannot be cast to org.codehaus.groovy.ast.expr.VariableExpression
Interesting that the bug affects only Groovy 1.8.0 installed with Windows Installer. Groovy installed from ZIP works as expected.