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());
|
printList(node.getArguments());
|
||||||
writer.append(')');
|
writer.append(')');
|
||||||
if (node instanceof NewExpression) {
|
if (node instanceof NewExpression) {
|
||||||
writer.ws();
|
|
||||||
NewExpression newExpr = (NewExpression) node;
|
NewExpression newExpr = (NewExpression) node;
|
||||||
if (newExpr.getInitializer() != null) {
|
if (newExpr.getInitializer() != null) {
|
||||||
|
writer.ws();
|
||||||
print(newExpr.getInitializer());
|
print(newExpr.getInitializer());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user