Merge pull request #3455 from weswigham/asyncFunctions

Emit awaiter arguments on new line
This commit is contained in:
Ron Buckton
2015-06-10 12:35:14 -07:00
29 changed files with 63 additions and 31 deletions

View File

@@ -3441,7 +3441,9 @@ var __awaiter = (this && this.__awaiter) || function (generator, thisArg, args,
emitFunctionBody(node);
// Emit the current `this` binding.
write(", this");
write(",");
writeLine();
write("this");
// Optionally emit the lexical arguments.
if (hasLexicalArguments) {