Skip to content

regression on enums with type parameters #659

@Antriel

Description

@Antriel

Not sure when this started happening, but it used to work ~2 years ago.

Input file

enum Foo<Child> {
	Bar<T>(options : Array<T>);
}

Broken output

enum Foo<Child> {
	Bar<T>
	(options : Array<T>);
}

Expected output
No change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lineendsline end handlingtokentreerequires fix in tokentreewhitespacemissing or incorrect space around token

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions