We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@anmonteiro and myself have been debugging some issues that surfaced in reason-react test suite when upgrading to 5.2: reasonml/reason-react#833.
It seems that when using 3.11.0 with OCaml 5.2, the type signature inferred from a function like:
3.11.0
let t = (~foo=0, ()) => foo;
The inferred type signature in merlin / lsp will be:
(~foo: int, unit) => int
when it should be:
(~foo: int=?, unit) => int
Some of the things we've gathered:
5.2
5.1
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
@anmonteiro and myself have been debugging some issues that surfaced in reason-react test suite when upgrading to 5.2: reasonml/reason-react#833.
It seems that when using
3.11.0
with OCaml 5.2, the type signature inferred from a function like:The inferred type signature in merlin / lsp will be:
when it should be:
Some of the things we've gathered:
3.11.0
with5.2
, but the behavior is right when using it with5.1
The text was updated successfully, but these errors were encountered: