diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 79ba59b94b..28bc103e4c 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -1082,11 +1082,11 @@ 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.AbstractKeyword) { + // nextToken(); + // // 'abstract' can precede class declarations and member function declarations. + // return token === SyntaxKind.ClassKeyword || token === SyntaxKind.Identifier; + // } if (token === SyntaxKind.DefaultKeyword) { return nextTokenIsClassOrFunction(); }