Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0.0
-
None
-
None
Description
import groovy.transform.CompileStatic as S @S class A { def oo() { println 'a' } } @S class B extends A { def oo() { println 'b' } } @S class C extends B { def oo() { ((A) super).oo() } } new C().oo()
Either casting super should give an error or there should be functionality to use some method handle to do this.