-
Notifications
You must be signed in to change notification settings - Fork 54
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 comment with braces #326
Comments
Library from git? |
Right. Buld from this revision |
Same thing here. It's actually much worse than decribed, there's no need to have a brace inside the comment, it's enough to simply have a comment right after a brace, which happens very often. package {
public class Issue {
public function Issue() {
if (true)
{
//comment
doIt();
}
}
}
} Result: class Issue {
public function new() {
if (true)
//comment{
doIt();
}
}
} The brace ends up in the comment, so the .hx doesn't even compile. Some thing for opening braces of functions: package {
public class Issue {
public function Issue() {
//comment
doIt();
}
}
} Result: class Issue {
public function new()
//comment{
doIt();
}
} |
Experiencing same trouble |
as3 code for example:
expected result
actual result
The text was updated successfully, but these errors were encountered: