Skip to content
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

No documentation shown when using value forwarders #5885

Closed
tgodzik opened this issue Nov 28, 2023 · 0 comments · Fixed by #5912
Closed

No documentation shown when using value forwarders #5885

tgodzik opened this issue Nov 28, 2023 · 0 comments · Fixed by #5912
Assignees
Labels
bug Something that is making a piece of functionality unusable Scala 3 Generic ticket relating to Scala 3
Milestone

Comments

@tgodzik
Copy link
Contributor

tgodzik commented Nov 28, 2023

Describe the bug

When using value forwarders such as in case of List:

val List = scala.collection.immutable.List

We will not get the actual documentation in completions (probably other places such as hover also) for the List object.

This was caused by the recent changes to newest Scala 3 nightlies.

Expected behavior

Documentation for list should be shown. Most likely we need to fix it in the compiler itself.

This also influences some completions and this was marked near the affected test cases.

Operating system

Linux

Editor/Extension

VS Code

Version of Metals

v1.1.0

Extra context or search terms

documentation value forwarders list

@tgodzik tgodzik added bug Something that is making a piece of functionality unusable Scala 3 Generic ticket relating to Scala 3 labels Nov 28, 2023
@tgodzik tgodzik added this to Triage in Metals Issue Board via automation Nov 28, 2023
@jkciesluk jkciesluk self-assigned this Dec 5, 2023
tgodzik added a commit to scala/scala3 that referenced this issue Dec 6, 2023
Metals Issue Board automation moved this from Triage to Done Dec 8, 2023
@kasiaMarek kasiaMarek added this to the Metals v1.2.1 milestone Feb 7, 2024
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 Scala 3 Generic ticket relating to Scala 3
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants