Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The following code fails with a VerifyError:
class Parent { String str Parent(String s) { str = s } } @CompileStatic class Outer { String a private class Inner extends Parent { Inner() { super(getA()) } } String test() { new Inner().str } } def o = new Outer(a:'ok') assert o.test() == 'ok'
Note that this also fails, for a different reason, without @CompileStatic.