Enum completions in new
context should be filtered
#19968
Labels
area:presentation-compiler
Related to the presentation compiler module used by Metals and possibly other tools
good first issue
Perfect for someone who wants to get started contributing
itype:enhancement
Spree
Suitable for a future Spree
Milestone
Compiler version
3.4.1
Minimized code
Output
Both completions requests suggest
NewEnum
and allow us to compile it even if they are illegal and will result in error.Expectation
These completions should be hidden as they are illegal in this context.
The text was updated successfully, but these errors were encountered: