Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
Description
Right now, Groovy always uses dynamic dispatch through invokeMethod to call methods, regardless of whether the type of the caller is known statically.
It should be possible for Groovy to use static dispatch in cases where invokeMethod
is not modified. (The tricky part of this is ensuring that invokeMethod continues to work correctly.)
Attachments
Issue Links
- is depended upon by
-
GROOVY-761 static typing
- Closed