-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overloading not properly handled for constructor calls #768
Comments
Ready to test
Incomplete use cases: default parameters, anonymous inner calls, |
Tested with 3.2.0.xx-201811260558-e48 for |
Ah yes, There was just so much to unpack for this issue... |
Ready to test for inner class case |
Works with inner classes in 3.2.0.xx-201811262337-e48, both navigation and Call Hierarchy/Search for References 👍 Not tested default parameters and |
Anonymous inner construction, default parameters, and |
Somewhat a followup to #765.
Consider these java classes:
and this Groovy class:
Overloading is not properly handle, as you can see by:
def b3 = new MyBean3(s, true, null, null)
brings totest42.MyService.MyBean3.MyBean3()
instead oftest42.MyService.MyBean3.MyBean3(boolean, Set<String>, Set<Integer>)
; this only happens for the inner class, does not happen for top-level and nested classMyBean
,MyBean2
andMyBean3
matches calls fromTest42
class, which however only calls constructors with args; this seems not to happen with regular method callsThe text was updated successfully, but these errors were encountered: