Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.3.9, 2.4.1
-
JDK: 1.7, O/S: windows
Description
Calling f2() within the each closure causes compiler error.
@groovy.transform.CompileStatic trait MyTrait { def f() { ['a'].each {f2()} } def f2() { true } }
Attachments
Issue Links
- is cloned by
-
GROOVY-9586 SC: calling trait method inside closure has incorrect receivers data
- Closed