-
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
Wrong completion for constructor code on a generic class #346
Comments
Is there a completion setting that must be enabled to get the generics in the completion proposal? All I get is |
I was not aware of this, but after you told me, I discovered that this behaviour happens when the following option is enabled: I have this option enabled in my workspaces, I can't remember whether I enabled it explicitly or rather it is the default value. By the way, getting |
Thanks. That helps in recreation. Do you actually want the generics for the constructor? Or would a completion of |
I would say |
In 2.9.2.xx-201710051703-e46 this works correctly, thank you! 👍 |
This was the old GRECLIPSE-1761:
Consider the following Java class:
And the following Groovy class:
Invoke code assist at "|" and choose the first suggestion.
The expected behaviour is to get either
new JavaClass<Integer>()
ornew JavaClass<>()
.What I get instead is:
new JavaClass<Number>()
.The text was updated successfully, but these errors were encountered: