Skip to content

Commit 1280912

Browse files
committed
added comment
1 parent aec0fb4 commit 1280912

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/compiler/emitter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4219,6 +4219,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
42194219
scopeEmitStart(node, "constructor");
42204220
increaseIndent();
42214221
if (ctor) {
4222+
// Emit all the directive prologues (like "use strict"). These have to come before
4223+
// any other preamble code we write (like parameter initializers).
42224224
var startIndex = emitDirectivePrologues(ctor.body.statements, /*startWithNewLine*/ true);
42234225
emitDetachedComments(ctor.body.statements);
42244226
}

0 commit comments

Comments
 (0)