Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-5
-
None
-
None
Description
def func()
{ boolean index } org.codehaus.groovy.syntax.parser.UnexpectedTokenException: could not use '}' at 3:1; found array type where none expected
-8<--
def func() {
boolean index = true
}
or:
def func() {
int index = 1
}
java.lang.VerifyError: (class: ints, method: func signature: ()Ljava/lang/Object Expecting to find integer on stack
-8<--
Using Boolean or Integer works.