Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Consider the following:
@groovy.transform.CompileStatic class C { void m() { { -> getResolveStrategy() // and other Closure methods/properties except "owner", "delegate" and "thisObject" }() } }
Trying to access the enclosing closure's metadata results in STC compiler errors.