mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -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