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 macro :Type #660

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

regression on macro :Type #660

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

I suppose I could just wrap it in parentheses, but it used to work. Is it fixable?

Input file

switch type {
	case Foo:
		macro :Float;
}

Broken output

switch type {
	case Foo:
		macro
	:Float;
}

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