Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.6
-
None
-
None
-
None
-
Mac osX 10.5, Java 6
Description
enum MyEnum { a { void something() {} } abstract void something() } MyEnum.a.something()
code above should work (if I extrapolate from Java) but brings in Groovy console:
1 compilation error:
Unknown type: OBJBLOCK at line: 2 column: 7. File: ConsoleScript10 at
Attachments
Issue Links
- duplicates
-
GROOVY-2443 Enum does not support instance (value) specific methods
- Closed