Skip to content

No highlight in named context bound #281

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

Closed
bishabosha opened this issue Jan 10, 2025 · 0 comments · Fixed by #282
Closed

No highlight in named context bound #281

bishabosha opened this issue Jan 10, 2025 · 0 comments · Fixed by #282

Comments

@bishabosha
Copy link
Member

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

I guess as should be highlighted as some kind of keyword, and also num as a parameter name

@bishabosha bishabosha changed the title No highlight in new context bound No highlight in named context bound Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant