Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Formatter deleting parts of the code when having a superfluous } #120

Closed
@jsiebern

Description

@jsiebern
module InstallerDownload = {
  @react.component
  let make = () => {
    <div />
  }
}
}
module LicenseList = {

}

gets reformatted to:

module InstallerDownload = {
  @react.component
  let make = () => {
    <div />
  }
}

So it basically eats everything below the superfluous }. I reported a similar thing with parens here: #16, maybe it's related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions