mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-11-21 01:00:54 +08:00
Fix extra space added after new expression
This commit is contained in:
parent
d50189ea3a
commit
0376a46c06
@ -511,9 +511,9 @@ public class AstWriter {
|
||||
printList(node.getArguments());
|
||||
writer.append(')');
|
||||
if (node instanceof NewExpression) {
|
||||
writer.ws();
|
||||
NewExpression newExpr = (NewExpression) node;
|
||||
if (newExpr.getInitializer() != null) {
|
||||
writer.ws();
|
||||
print(newExpr.getInitializer());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user