Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.0, 1.1-beta-1, 1.1-beta-2
-
None
-
None
Description
Currently if you do
class A {} class B extends A{} Boo.foo()
You get:
groovy.lang.MissingMethodException: No signature of method: static A.foo() is applicable for argument types: () values: {}
This is because invokeStaticMethod uses recursion up the class hierarchy and loses the original sender information. This makes for bad error messages and also result in other problems such as if B defines a "methodMissing" it is never invoked.