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

refmt removes unremovable parentheses #2653

Open
smorimoto opened this issue Apr 16, 2021 · 0 comments
Open

refmt removes unremovable parentheses #2653

smorimoto opened this issue Apr 16, 2021 · 0 comments
Labels
Printer things that have to do with turning an AST into Reason code

Comments

@smorimoto
Copy link

We use these helpers in our tests, but refmt breaks them.
https://github.com/ocsigen/tyxml/blob/8551b673857fdc1defebe7c502ffcb920f04009e/test/tyxml_test.ml#L81-L85

Actual behavior:

  1. !:(<p />)
  2. !:<p />

Expected behaviour:

  1. !:(<p />)
  2. !:(<p />)
@davesnx davesnx added the Printer things that have to do with turning an AST into Reason code label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Printer things that have to do with turning an AST into Reason code
Projects
None yet
Development

No branches or pull requests

2 participants