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

bad switch minify case #3

Open
pvdz opened this issue Feb 13, 2012 · 1 comment
Open

bad switch minify case #3

pvdz opened this issue Feb 13, 2012 · 1 comment

Comments

@pvdz
Copy link
Owner

pvdz commented Feb 13, 2012

When using minify button on switch(2){case 1:break} the first time it will add a return after the break where it shouldn't. The second time it will add another return after the break. (Result is stable after that)

@pvdz
Copy link
Owner Author

pvdz commented Feb 13, 2012

Kinda looks as if there should be a rule that prevents an "asi newline" when a } follows. Or if that rule exists, that it should be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant