Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression on enums with type parameters #659

Closed
Antriel opened this issue Nov 8, 2022 · 0 comments
Closed

regression on enums with type parameters #659

Antriel opened this issue Nov 8, 2022 · 0 comments
Labels
lineends line end handling tokentree requires fix in tokentree whitespace missing or incorrect space around token

Comments

@Antriel
Copy link

Antriel commented Nov 8, 2022

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.

AlexHaxe added a commit to AlexHaxe/haxe-formatter that referenced this issue Dec 3, 2022
@AlexHaxe AlexHaxe added tokentree requires fix in tokentree whitespace missing or incorrect space around token lineends line end handling labels Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lineends line end handling tokentree requires fix in tokentree whitespace missing or incorrect space around token
Projects
None yet
Development

No branches or pull requests

2 participants