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
Just saw there was a new release of @opam/reason at version 3.6.2 - figured I'd give it a test run!
@opam/reason
3.6.2
It looks like there is a regression with refmt - in some cases, the parentheses can be removed too aggressively from an expression, for example:
refmt
fun | [] => None | [(child: node), ...rest] => ...
Gets refmt'd to:
fun | [] => None | [child: None, ...rest] => ...
Which then becomes a compilation error:
File "src/Components/Tabs.re", line 24, characters 18-19: 24 | | [child: node, ..._] when i == index => ^ Error: Unclosed "(" (opened line 20, column 38)
Hit this in trying to upgrade Onivim here: onivim/oni2#2688
The text was updated successfully, but these errors were encountered:
I ran into a very similar issue, not sure if the same but tracking here in case it helps.
In v3.7.0 from opam.
let foo = fun | (hey: baz) => ();
gets compiled into:
let foo = fun | hey: baz => ();
Sorry, something went wrong.
This is fixed in the master branch, we will release it under 3.9.0
No branches or pull requests
Just saw there was a new release of
@opam/reason
at version3.6.2
- figured I'd give it a test run!It looks like there is a regression with
refmt
- in some cases, the parentheses can be removed too aggressively from an expression, for example:Gets
refmt
'd to:Which then becomes a compilation error:
Hit this in trying to upgrade Onivim here: onivim/oni2#2688
The text was updated successfully, but these errors were encountered: