-
Notifications
You must be signed in to change notification settings - Fork 325
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
Incorrect inferred method type argument in Scala 3 #4338
Comments
Thanks for reporting, it seems in semanticdb we get: Which means we need to fix it in the compiler. |
Probably related to #3935 |
Looks like this is caused by the lack of |
Realized synthetics for inferred type parameters have disappeared in 3.2.0 😢 |
What does that mean @tanishiking ? |
It was a big PR, no one can review 8k lines of code 😞 Thanks @tanishiking |
Thanks for finding this @tanishiking ! I asked Martin about it in https://github.com/lampepfl/dotty/pull/15877/files#r969241924 It's not cool that it contained so visible regressions and yet it was just merged. |
Thanks, @tgodzik! Yeah, it (ignoring the regression test) shouldn't happen, but for this case, it might be easier to fix on top of the change made by Martin compared to revert it. |
Sure, I get that, but I think next time they should have us sign off on such changes. |
Submit a PR scala/scala3#16031 to fix the regression |
Describe the bug
Expected behavior
StateT.modify
has correct inferred type[Id, Int]
Operating system
macOS
Editor/Extension
VS Code
Version of Metals
0.11.8+72-6567f1a3-SNAPSHOT
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: