Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Groovy Version: 1.0-RC-01-SNAPSHOT JVM: 1.5.0_06-b05
Description
class Something {
static void something()
throws IllegalArgumentException { }
}
>>unexpected token: <newline> @ line 2, column 24.
At the moment, 'throws' must be on the first line of the method declaration to avoid the error.