Skip to content

Formatter eats comments on the first argument of a function #6661

Closed
@cknitt

Description

@cknitt

Example (tested with 11.0.1):

  external test: (
    // comment
    ~x: int,
  ) => unit = "test"

gets reformatted to

external test: (~x: int) => unit = "test"

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