diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index fbaaf2493c7..196aeabe638 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -3189,9 +3189,7 @@ module ts { } else { write("("); - if (node.arguments.length) { - emitCommaList(node.arguments); - } + emitCommaList(node.arguments); write(")"); } } diff --git a/tests/cases/unittests/incrementalParser.ts b/tests/cases/unittests/incrementalParser.ts index 87c0c3701f3..422675e9e0a 100644 --- a/tests/cases/unittests/incrementalParser.ts +++ b/tests/cases/unittests/incrementalParser.ts @@ -686,7 +686,6 @@ module m3 { }\ }); it('Surrounding function declarations with block',() => { - debugger; var source = "declare function F1() { } export function F2() { } declare export function F3() { }" var oldText = ScriptSnapshot.fromString(source); @@ -723,7 +722,6 @@ module m3 { }\ }); it('Moving methods from object literal to class in strict mode', () => { - debugger; var source = "\"use strict\"; var v = { public A() { } public B() { } public C() { } }" var oldText = ScriptSnapshot.fromString(source);