Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.1
-
None
-
None
Description
In the following snippet of code:
@groovy.transform.CompileStatic class Outer { String outerProperty = 'outer' private class Inner { String fromInner() { Holder holder = new Holder() holder.value = outerProperty holder.value } } String blah() { new Inner().fromInner() } }
access to "outerProperty" is done through GroovyObject.getProperty but a direct method call can be done.