Skip to content

Line comment after typedefs #331

Closed
Closed
@Gama11

Description

@Gama11

Describe the bug

If there's a single-line comment there, it probably "belongs to" that line, but it's moved.

Input file

typedef TypeParams = Array<String>; // no constraints
typedef Foo = Bar

Broken output

typedef TypeParams = Array<String>;
// no constraints
typedef Foo = Bar

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions