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

Broken indentation with macro reification #618

Closed
kevinresol opened this issue Oct 25, 2020 · 0 comments
Closed

Broken indentation with macro reification #618

kevinresol opened this issue Oct 25, 2020 · 0 comments
Labels
bug Something isn't working indentation Indentation is incorrect

Comments

@kevinresol
Copy link

Describe the bug

$e breaks indentation of else

Input file

class Main {
	public static function main() {
		macro if ($i{name} != null)
			$e
		else
			1;
	}
}

Broken output

class Main {
	public static function main() {
		macro if ($i{name} != null)
			$e
			else
				1;
	}
}
@AlexHaxe AlexHaxe added bug Something isn't working indentation Indentation is incorrect labels Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working indentation Indentation is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants