Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.3.8
-
None
Description
The following code causes a compile-time error, just because the class implementing the trait uses `@CompileStatic`:
trait Foo { private int f(int x) { x } int foo() { f(2) } } @groovy.transform.CompileStatic class A implements Foo {} new A().foo()
Attachments
Issue Links
- relates to
-
GROOVY-8859 fix trait private method consistency
- Closed