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

Hover shows ?_ for arguments of function declaration #216

Open
benrbray opened this issue Mar 24, 2024 · 0 comments
Open

Hover shows ?_ for arguments of function declaration #216

benrbray opened this issue Mar 24, 2024 · 0 comments

Comments

@benrbray
Copy link

Consider the following code:

eval : (a -> b) -> a -> b
eval f x = f x
--   1 2   3 4

-- (hover @ 1)  f : ?_ -> ?_
-- (hover @ 2)  x : ?_ [no locals in scope]
-- (hover @ 3)  f : a -> b
-- (hover @ 4)  x : a

The ?_ holes are not too helpful, rather I would expect hovering 1 to show the same result as 3 and hovering 2 to show the same result as 4.

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

No branches or pull requests

1 participant