Use .append to force-commit semicolons for empty statements.

This commit is contained in:
Logan Smyth
2016-07-14 22:07:40 -07:00
parent bd9bb053c3
commit 1bf76b0f33
2 changed files with 4 additions and 7 deletions

View File

@@ -137,8 +137,7 @@ export let YieldExpression = buildYieldAwait("yield");
export let AwaitExpression = buildYieldAwait("await");
export function EmptyStatement() {
this._lastPrintedIsEmptyStatement = true;
this.semicolon();
this.semicolon(true /* force */);
}
export function ExpressionStatement(node: Object) {