We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
//> using scala 3.7.0-RC2 def hello = (path = ".", num = 5) def test = hello ++ (line = 1) @main def bla = val x: (path: String, num: Int, line: Int) = test
Inlay hint is super long for concatenation:
And doing "Insert type" code action on test produces a huge type as well.
test
Named tuples should be handled in a special way by other compiler or metals, producing the expected shortand type
macOS
Other
1.5.2
named tuples, inlay hints, inferred type
The text was updated successfully, but these errors were encountered:
improvement: Don't dealias named tuples for type hints
11c3afa
This causes the code to grow quite a lot. Fixes scalameta/metals#7397
Trying a fix in scala/scala3#23013, let me know if that makes more sense.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
Inlay hint is super long for concatenation:
And doing "Insert type" code action on
test
produces a huge type as well.Expected behavior
Named tuples should be handled in a special way by other compiler or metals, producing the expected shortand type
Operating system
macOS
Editor/Extension
Other
Version of Metals
1.5.2
Extra context or search terms
named tuples, inlay hints, inferred type
The text was updated successfully, but these errors were encountered: