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
In OCaml we can write ppx annotation in the signature val%nativeComponent foo: bar
val%nativeComponent foo: bar
refmt sugest me [%%nativeComponent: let foo: bar].
[%%nativeComponent: let foo: bar]
Is their a reason why such change ?
Also let%ppx foo = bar is perfectly fine in Reason see https://github.com/jaredly/reason-macros
let%ppx foo = bar
Can this be changed to have parity with OCaml and be more consistent.
on Refmt Reason 3.5.2 @ e6229f9a
Refmt Reason 3.5.2 @ e6229f9a
$ esy refmt -i true let%nativeComponent foo: bar; Line 1, characters 3-4: Error: Syntax error
The text was updated successfully, but these errors were encountered:
This is related to #2478 (have %ppx in signature allowed) and should have the same fix.
Sorry, something went wrong.
let%ppx
Successfully merging a pull request may close this issue.
In OCaml we can write ppx annotation in the signature
val%nativeComponent foo: bar
refmt sugest me
[%%nativeComponent: let foo: bar]
.Is their a reason why such change ?
Also
let%ppx foo = bar
is perfectly fine in Reason see https://github.com/jaredly/reason-macrosCan this be changed to have parity with OCaml and be more consistent.
on
Refmt Reason 3.5.2 @ e6229f9a
The text was updated successfully, but these errors were encountered: