Skip to content

Commit 95cd3c3

Browse files
committed
Allow super element access
1 parent d17f13a commit 95cd3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3295,7 +3295,7 @@ namespace ts {
32953295

32963296
function parseSuperExpression(): MemberExpression {
32973297
let expression = parseTokenNode<PrimaryExpression>();
3298-
if (token === SyntaxKind.OpenParenToken || token === SyntaxKind.DotToken) {
3298+
if (token === SyntaxKind.OpenParenToken || token === SyntaxKind.DotToken || token === SyntaxKind.OpenBracketToken) {
32993299
return expression;
33003300
}
33013301

0 commit comments

Comments
 (0)