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 hover for named context bound #22335

Open
bishabosha opened this issue Jan 10, 2025 · 0 comments · May be fixed by #22374
Open

No hover for named context bound #22335

bishabosha opened this issue Jan 10, 2025 · 0 comments · May be fixed by #22374
Assignees
Labels
area:presentation-compiler Related to the presentation compiler module used by Metals and possibly other tools itype:bug

Comments

@bishabosha
Copy link
Member

bishabosha commented Jan 10, 2025

In VS Code with Scala 3.6.2 and metals 1.4.2

Compiler version

3.6.2

Minimized code

def fromInt[T: Numeric as num](t: Int): T = num.fromInt(t)
//                        ^^^

Output

no hover

Expectation

should display that num: Numeric[T] or something like that

@bishabosha bishabosha added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label labels Jan 10, 2025
@Gedochao Gedochao added area:presentation-compiler Related to the presentation compiler module used by Metals and possibly other tools and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:presentation-compiler Related to the presentation compiler module used by Metals and possibly other tools itype:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants