Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refmt removes unremovable parentheses #2653

@smorimoto

Description

@smorimoto

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 />)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Printerthings that have to do with turning an AST into Reason code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions