Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.3
-
None
Description
The following code compiles in 1.7.2, but not in 1.7.3:
private enum EnumWithToString { VALUE String toString() { "I'm a value" } }
groovyc output:
unexpected token: VALUE @ line 337, column 3. VALUE ^ 1 error
The compile error goes away when adding a semicolon after "VALUE".