diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 20d9585fc00..bb3de86bc7a 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -2291,6 +2291,8 @@ module ts { case SyntaxKind.ElementAccessExpression: case SyntaxKind.CallExpression: case SyntaxKind.ParenthesizedExpression: + // This list is not exhaustive and only includes those cases that are relevant + // to the check in emitArrayLiteral. More cases can be added as needed. return false; } return true;