diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 28bc103e4c1..886b73f3044 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -1082,11 +1082,6 @@ namespace ts { } return token !== SyntaxKind.AsteriskToken && token !== SyntaxKind.OpenBraceToken && canFollowModifier(); } - // if (token === SyntaxKind.AbstractKeyword) { - // nextToken(); - // // 'abstract' can precede class declarations and member function declarations. - // return token === SyntaxKind.ClassKeyword || token === SyntaxKind.Identifier; - // } if (token === SyntaxKind.DefaultKeyword) { return nextTokenIsClassOrFunction(); }