Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix parser-test allowlist #14925

Merged
merged 1 commit into from
Sep 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
29 changes: 7 additions & 22 deletions scripts/parser-tests/typescript/allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,7 @@ exportDeclarationsInAmbientNamespaces2.ts
multipleExports.ts


# 143 valid programs produced a parsing error

#invalid programs did not produce a parsing error

bigintIndex.ts
classExpressionWithDecorator1.ts
collisionArgumentsArrowFunctions.ts # TypeScript doesn't allow a parameter to be named arguments even in non-strict mode, which we don't catch.
collisionArgumentsFunction.ts # TypeScript doesn't allow a parameter to be named arguments even in non-strict mode, which we don't catch.
collisionArgumentsFunctionExpressions.ts # TypeScript doesn't allow a parameter to be named arguments even in non-strict mode, which we don't catch.
dynamicImportTrailingComma.ts
es3-oldStyleOctalLiteralInEnums.ts # We don't support ES3-style octal literal errors.
exportDeclarationsInAmbientNamespaces2.ts
multipleExports.ts


#valid programs produced a parsing error
# 139 valid programs produced a parsing error

ArrowFunctionExpression1.ts
MemberAccessorDeclaration15.ts
Expand Down Expand Up @@ -94,8 +79,8 @@ exportInterfaceClassAndValue.ts
exportSameNameFuncVar.ts
exportSpecifierAndExportedMemberDeclaration.ts
exportSpecifierAndLocalMemberDeclaration.ts
exportSpecifierForAGlobal.ts
exportSpecifierReferencingOuterDeclaration2.ts
exportSpecifierForAGlobal.ts # We handle this fine, but it doesn't consider the different files together
exportSpecifierReferencingOuterDeclaration2.ts # We handle this fine, but it doesn't consider the different files together
expressionsForbiddenInParameterInitializers.ts
extendsClauseAlreadySeen.ts
extendsClauseAlreadySeen2.ts
Expand All @@ -120,7 +105,7 @@ indexTypeCheck.ts
indexWithoutParamType.ts
indexerSignatureWithRestParam.ts
interfaceMayNotBeExtendedWitACall.ts
interfaceNaming1.ts
interfaceNaming1.ts # We correctly identify this error, but we can't bring it in without bringing a bunch of other tests too.
interfaceWithImplements1.ts
jsxAttributeMissingInitializer.tsx
jsxAttributeWithoutExpressionReact.tsx
Expand Down Expand Up @@ -151,9 +136,9 @@ parameterInitializerBeforeDestructuringEmit.ts
parameterPropertyOutsideConstructor.ts
parserConstructorDeclaration12.ts
reExportGlobalDeclaration1.ts
reExportGlobalDeclaration2.ts
reExportGlobalDeclaration3.ts
reExportGlobalDeclaration4.ts
reExportGlobalDeclaration2.ts # We handle this fine, but it doesn't consider the different files together
reExportGlobalDeclaration3.ts # We handle this fine, but it doesn't consider the different files together
reExportGlobalDeclaration4.ts # We handle this fine, but it doesn't consider the different files together
reExportUndefined1.ts
readonlyInNonPropertyParameters.ts
redeclareParameterInCatchBlock.ts
Expand Down