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
{{ message }}
Repository navigation
Calling super().Method() throws an exception if its not implemented by the base class #2629
In mult-level heirarchies, this causes a stackoverflow exception because the control flow opts to calling the original method instead of the one defined at the super-super level.
For example:
classClass1{publicvirtualvoidMethod(){}}
classClass2(Class1):
# This does not implement MethodpassclassClass3(class2):
defMethod(self):
super().Method()
In this case, calling Class3.Method will cause a stackoverflow exception because it will call back to the virtual Method method instead of the concrete base class implementation.
Activity