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

Hovering on String.append : String → String → String highlights two out of three String #14

Closed
kim-em opened this issue Jul 19, 2024 · 3 comments
Labels
upstream-bug A bug that's in an upstream repository

Comments

@kim-em
Copy link

kim-em commented Jul 19, 2024

The middle String in the signature of "String.append : String → String → String" doesn't have a hover.

@david-christiansen
Copy link
Collaborator

Interestingly, it doesn't have the correct hover in the infoview either.

If I write

#check String.append

and then hover the resulting signature, the first and last String are highlighted with their proper docstrings, but the second one only gets String : Type in its tooltip. Go-to-def doesn't work on it either. So this is probably a bug in Lean that needs fixing.

@david-christiansen
Copy link
Collaborator

See leanprover/lean4#4972

@david-christiansen david-christiansen added the upstream-bug A bug that's in an upstream repository label Aug 9, 2024
@david-christiansen
Copy link
Collaborator

This was fixed upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream-bug A bug that's in an upstream repository
Projects
None yet
Development

No branches or pull requests

2 participants