-
Notifications
You must be signed in to change notification settings - Fork 1
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
Incomplete variable declaration not well recovered #1038
Comments
This appears to be a regression from 6d18973#diff-f6ffa5d531b4891f33f39aa1eff4b996c8b671ffb1fbdcddfc978a69f9bdbae4R2181 |
It's indeed quite possible. The reason why some extra checks were added to remove some DOM node is because sometimes, Lombok or other can dynamically add non-existing node to the DOM and the best way I had found so far is checking some index condition. The conditions may not be good enough and may exclude some valid-ish nodes. |
Signed-off-by: Rob Stryker <stryker@redhat.com>
Signed-off-by: Rob Stryker <stryker@redhat.com>
Inspired from CompletionContextTests.test0136
is recovered "weakly" to DOM as
without variable, while Javac has
It would be good to recover the Variable Declaration better.
The text was updated successfully, but these errors were encountered: