public abstract class Simple {
public Simple getSimple() {
return this;
}
}
class NotSoSimple extends Simple {
@Override public NotSoSimple getSimple() {
return this;
}
}
class Complex extends NotSoSimple {
@Override public Complex getSimple() {
return this;
}
}
looks like the HEAD version is doing fine here... the exception is a bit irritating...
Exception in thread "main" java.lang.NoSuchMethodError: Simple.getSimple()LComplex;
that is no Groovy exception, it is a Java exception. Or to be clearer an exception from reflection. most probably the base call class was used in a wrong way, but that part changed pretty much. I guess it is fixed, but to be really sure I need your feedback. If the problem still remains, then reopen this issue please