Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.6, 2.4.0-beta-3
-
None
Description
import groovy.transform.CompileStatic @CompileStatic class Test { static void test() { def map = [:] println(map[0] ?: (map[0] = 1)) } } Test.test()
Caught: java.lang.VerifyError: (class: Test, method: test signature: ()V) Inconsistent stack height 3 != 2 java.lang.VerifyError: (class: Test, method: test signature: ()V) Inconsistent stack height 3 != 2 at test.run(test.groovy:11)
Attachments
Issue Links
- is duplicated by
-
GROOVY-6984 VerifyError for CompileStatic
- Closed