move temp declarations out of object literal

This commit is contained in:
Vladimir Matveev 2015-06-08 18:31:56 -07:00
parent 6f45524b9f
commit 26a1ed6017
2 changed files with 2 additions and 2 deletions

View file

@ -5327,10 +5327,10 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
emitSetters(exportStarFunction); emitSetters(exportStarFunction);
writeLine(); writeLine();
emitExecute(node, startIndex); emitExecute(node, startIndex);
emitTempDeclarations(/*newLine*/ true)
decreaseIndent(); decreaseIndent();
writeLine(); writeLine();
write("}"); // return write("}"); // return
emitTempDeclarations(/*newLine*/ true)
} }
function emitSetters(exportStarFunction: string) { function emitSetters(exportStarFunction: string) {

View file

@ -66,6 +66,6 @@ System.register([], function(exports_1) {
exports_1("x", x = _b[_i][0]); exports_1("x", x = _b[_i][0]);
} }
} }
var _a;
} }
var _a;
}); });