Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.5.5, 1.6-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The code:
enum Test {
}
def Test
This empty enum gives the error:
Exception thrown: BUG! exception in phase 'semantic analysis' in source unit 'Script86' null
I have tested this in IDEA and via command line and can not replicate any exception or an issue with an empty enum.
Do you have any other code that will reproduce this exception?
or
Is this fixed with the latest build?
I'm running against Groovy 1.5.4