-
Notifications
You must be signed in to change notification settings - Fork 444
Don't infer method in select position #7998
Copy link
Copy link
Labels
Scala 3Generic ticket relating to Scala 3Generic ticket relating to Scala 3bugSomething that is making a piece of functionality unusableSomething that is making a piece of functionality unusablepresentation-compilerSomething relating to the presentation compilerSomething relating to the presentation compiler
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
Scala 3Generic ticket relating to Scala 3Generic ticket relating to Scala 3bugSomething that is making a piece of functionality unusableSomething that is making a piece of functionality unusablepresentation-compilerSomething relating to the presentation compilerSomething relating to the presentation compiler
Describe the bug
This is tested in ImportMissingSymbolCrossLspSuite
If you have two files
and
auto import will be suggested, but it will also suggest to infer a method, which is not possible currently.
Expected behavior
No infer should be possible or an extension method created instead.
Operating system
macOS
Editor/Extension
VS Code
Version of Metals
v1.6.4
Scala version/s
3.3.7
Extra context or search terms
scala 3 infer action