I have the following:
trait Trait {
def Method() {
// do stuff
}
}
class Class implements Trait {
def Method() {
// do other stuff
super.Method()
}
}
This compiles but doesn't run as Groovy cannot resolve super.Method(). Calling just Method() results in a stack overflow.
Is it possible to override a Groovy method in this way?