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

Incorrect syntax in hover help for module #708

Closed
cknitt opened this issue Jan 21, 2023 · 0 comments · Fixed by #709
Closed

Incorrect syntax in hover help for module #708

cknitt opened this issue Jan 21, 2023 · 0 comments · Fixed by #709

Comments

@cknitt
Copy link
Member

cknitt commented Jan 21, 2023

When hovering over X in

module A = {
  let x = 42
}

the following hover help is shown:

module A = {
  let x: int
}

However, this is not the correct syntax as it would have to be in the .resi file. There, a : would be needed instead of the =:

module A: {
  let x: int
}
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