Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.1
-
None
Description
@CompileStatic def foo() { boolean b = null //register error here print b } foo()
I get this at runtime
Caught: java.lang.VerifyError: (class: a/foo, method: foo signature: ()Ljava/lang/Object; ) Expecting to find integer on stack java.lang.VerifyError: (class: a/foo, method: foo signature: ()Ljava/lang/Object; ) Expecting to find integer on stack at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
BTW quite confusing message