Skip to content

Comment after doc comment gets formatted in between let binding #7187

Open
@fhammerschmidt

Description

@fhammerschmidt

This is a contrived example since the the first comment should probably be a module comment (/*** three stars */).

Before formatting:

/** doc comment */
// comment
let a = 1

After formatting:

/** doc comment */
let // comment
a = 1

Playground link

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions