Skip to content

Formatter: Comments lost when formatter removes parenthesis #2371

@spotandjake

Description

@spotandjake
(true // No overlap
  )

When the above code is formatted, the comment is lost, my best guess is that because we remove the wrapping parenthesis we probably are just not printing the comments there anymore however this is a complete guess without looking to much into the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggrainfmtIssues related to the Grain formatter

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions