You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classC {
boolean b
booleanisB() { }
}
classDextends C {
voidtest() {
super.b // MissingMethodException: No signature of method: bugs.C.getB() is applicable for argument types: () values: []
}
}
As noted in GROOVY-1736 and GROOVY-6097 the property expression "super.b" is converted to "super.getB()" during classgen. The class C does not have a generated getB() method because there is an explicit isB() method.
The text was updated successfully, but these errors were encountered:
Consider the following:
As noted in GROOVY-1736 and GROOVY-6097 the property expression "super.b" is converted to "super.getB()" during classgen. The class
C
does not have a generatedgetB()
method because there is an explicitisB()
method.The text was updated successfully, but these errors were encountered: