Skip to content

Comment in front of get { is dropped #1056

@ahoppen

Description

@ahoppen

When I format

var x: Int {
  // A comment
  get { 1 }
}

It becomes

var x: Int {
  1
}

The comment shouldn’t be dropped.

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