Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vladima committed Mar 16, 2016
1 parent 3ede567 commit 6cf57b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compiler/emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4228,7 +4228,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
shouldHoistVariable(node, /*checkIfSourceFileLevelDecl*/true);

if (isTopLevelDeclarationInSystemModule) {
// is system modules top level variables are hoisted
// in System modules top level variables are hoisted
// so variable declarations with destructuring are turned into destructuring assignments
write("(");
}

Expand Down

0 comments on commit 6cf57b1

Please sign in to comment.