Skip to content

formatter formats braces incorrectly for functors in resi #7949

@tx46

Description

@tx46
  module Make: Pattern =>
  {
    let fmt: event => string
  }

try this in a resi file. i would expect opening brace to be on same line as Pattern =>, ie:

  module Make: Pattern => {
    let fmt: event => string
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    formatterIssues related to code formatting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions