-
Notifications
You must be signed in to change notification settings - Fork 136
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
completion returns no results with pattern matching #2106
Comments
Can you please check with latest 4.32 I-Build? |
Unfortunately, the recent work on patterns is pure compiler work and does not cover code completion and #1349 and its cousins are also only focussed on code selection not completion. @snjeza - the fix proposed in #2107 is suspect. You should never have to fiddle with |
The parse tree recovered in the working case you report is:
and the parse tree recovered in the non-working case is:
There in lies the problem. Completion is being attempted on a |
I have reproduced the issue in the master branch - d767ba2 |
The parser returns |
Right, that is the bug that needs fixing. |
I have restored it at 015c32e#diff-8469e0f05a7f350e7047101a3e20fe0bf4d0f65df01fa0a18eb6378128c5de5aR2364 |
I will try. Thanks. |
Good luck! You may want to compare how the parse tree looks with code select when you control click on things.isEmpty() at both places. |
The related issues:
From eclipse-jdtls/eclipse.jdt.ls#3068
Consider the following code:
CA returns no results if requested for the first occurrence of things.is. It returns isEmpty(), however, for the second occurrence of thing.is
The text was updated successfully, but these errors were encountered: