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.
Activity
blackdrag blackdrag
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Jochen Theodorou [ blackdrag ] | |
| Fix Version/s | 1.8.0 [ 17222 ] | |
| Resolution | Won't Fix [ 2 ] |