Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.5
-
None
Description
In a CompileStatic block, when a boolean is negated with ! expression, I have the following error at runtime:
Error:
java.lang.VerifyError: (class: fr/manu/impl/MaClass$_retournerItems_closure2, method: doCall signature: (Ljava/lang/Object;)Ljava/lang/Object;) Expecting to find integer on stack
Groovy code:
Class.groovy
boolean b = true if (!b) { ... }