Skip to content

Comments in an enum cause tokens to be pushed into comment #1254

@rakudrama

Description

@rakudrama

It might be just that the comment is missing a terminating newline.

Before:

enum EE {
  a,
  b, // 'b'
  c
}

After dart format:

enum EE { a, b, // 'b' c }

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