Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.0.6
-
None
Description
The following code would produce an ArrayIndexOutOfBounds, due to missing call site array:
import groovy.transform.CompileStatic import groovy.transform.TypeCheckingMode @CompileStatic class Top { public int foo() { 123 } } @CompileStatic class Bottom extends Top { @CompileStatic(TypeCheckingMode.SKIP) public int bar() { foo() } } def obj = new Bottom() assert obj.bar() == 123