Skip to content

Commit c51983d

Browse files
author
Yui T
committed
Address code review
1 parent 91c5bae commit c51983d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/compiler/emitter.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3189,9 +3189,7 @@ module ts {
31893189
}
31903190
else {
31913191
write("(");
3192-
if (node.arguments.length) {
3193-
emitCommaList(node.arguments);
3194-
}
3192+
emitCommaList(node.arguments);
31953193
write(")");
31963194
}
31973195
}

tests/cases/unittests/incrementalParser.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,6 @@ module m3 { }\
686686
});
687687

688688
it('Surrounding function declarations with block',() => {
689-
debugger;
690689
var source = "declare function F1() { } export function F2() { } declare export function F3() { }"
691690

692691
var oldText = ScriptSnapshot.fromString(source);
@@ -723,7 +722,6 @@ module m3 { }\
723722
});
724723

725724
it('Moving methods from object literal to class in strict mode', () => {
726-
debugger;
727725
var source = "\"use strict\"; var v = { public A() { } public B() { } public C() { } }"
728726

729727
var oldText = ScriptSnapshot.fromString(source);

0 commit comments

Comments
 (0)