-
Notifications
You must be signed in to change notification settings - Fork 317
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
“Insert type annotation” wrongly infers Any
type
#6412
Comments
Another issue is: In the same file, go to line 89. Position the cursor on line 89 between the leading dot and the word Move the cursor to line 90 between the leading dot and the word |
Looking into the project it seems that for both Bloop and sbt BSP it's failing. The weirdest thing is that the presentation compiler seems to be sending us errors all around 🤔 |
Not sure, either presentation compiler is doing something weird or we are giving it a wrong classpath somehow. |
Describe the bug
main
as of this writing)val live
inobject NettyClientDriver
, save fileMetals will infer
Any
instead of the correct typeExpected behavior
The inferred type should be
ZLayer[NettyConfig, Nothing, NettyClientDriver]
Operating system
Linux
Editor/Extension
VS Code
Version of Metals
v1.3.1
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: