Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.7.5
-
Fix Version/s: None
-
Component/s: Compiler
-
Labels:None
-
Number of attachments :
Description
I've tried to declare an enum and made the mistake to put the constructor before the values:
enum Foo { Foo(String str) {}, // first I tried with ; but this got me some other error ONE("one"), TWO("two") }
What got me distracted is that Groovy throws a VerifyError here:
java.lang.VerifyError: (class: Foo, method: <clinit> signature: ()V) Unable to pop operand off an empty stack
Following snippet also reproduces the VerifyError