-
Notifications
You must be signed in to change notification settings - Fork 348
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
Inferred type in infer method code action should infer generics correctly #6954
Labels
bug
Something that is making a piece of functionality unusable
code action
Related to LSP code actions
spree
Comments
Another case to tackle is: object O{
val ig = new IGO {}
ig.news
}
trait IGO EDIT: fixed |
And another: trait Main {
def method1(b: Double, s : String) = 123
case class User(i : Int)
def otherMethod(arg0: Any, arg1: Int) = ???
otherMethod(User(1), 1)
} |
This one is fixed |
tgodzik
added a commit
to tgodzik/metals
that referenced
this issue
Jan 25, 2025
tgodzik
added a commit
to tgodzik/metals
that referenced
this issue
Jan 25, 2025
tgodzik
added a commit
to tgodzik/metals
that referenced
this issue
Jan 25, 2025
tgodzik
added a commit
to tgodzik/metals
that referenced
this issue
Jan 27, 2025
tgodzik
added a commit
that referenced
this issue
Jan 29, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something that is making a piece of functionality unusable
code action
Related to LSP code actions
spree
Describe the bug
Expected behavior
Operating system
None
Editor/Extension
VS Code
Version of Metals
1.4.2-SNAPSHOT
Extra context or search terms
Follow up from #6877
The text was updated successfully, but these errors were encountered: