Skip to content

Commit

Permalink
chore(coverage): bump test262, babel and TypeScript submodules (#7452)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Nov 24, 2024
1 parent e7423cf commit 6f161de
Show file tree
Hide file tree
Showing 21 changed files with 317 additions and 99 deletions.
6 changes: 3 additions & 3 deletions .github/actions/clone-submodules/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ runs:
show-progress: false
repository: tc39/test262
path: tasks/coverage/test262
ref: 0645461999632a17426e45d044ee519a0f07d022
ref: fd979d85d4e4b74ef1ed097d25c71263417d5aad

- uses: actions/checkout@v4
with:
show-progress: false
repository: babel/babel
path: tasks/coverage/babel
ref: d20b314c14533ab86351ecf6ca6b7296b66a57b3
ref: 54a8389fa31ce4fd18b0335b05832dc1ad3cc21f

- uses: actions/checkout@v4
with:
show-progress: false
repository: microsoft/TypeScript
path: tasks/coverage/typescript
ref: df9d16503f6755dd071e4c591b9d21c39d03d95e
ref: d85767abfd83880cea17cea70f9913e9c4496dcc

- uses: actions/checkout@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ ready:

# Clone or update submodules
submodules:
just clone-submodule tasks/coverage/test262 https://github.com/tc39/test262.git 0645461999632a17426e45d044ee519a0f07d022
just clone-submodule tasks/coverage/babel https://github.com/babel/babel.git d20b314c14533ab86351ecf6ca6b7296b66a57b3
just clone-submodule tasks/coverage/typescript https://github.com/microsoft/TypeScript.git df9d16503f6755dd071e4c591b9d21c39d03d95e
just clone-submodule tasks/coverage/test262 https://github.com/tc39/test262.git fd979d85d4e4b74ef1ed097d25c71263417d5aad
just clone-submodule tasks/coverage/babel https://github.com/babel/babel.git 54a8389fa31ce4fd18b0335b05832dc1ad3cc21f
just clone-submodule tasks/coverage/typescript https://github.com/microsoft/TypeScript.git d85767abfd83880cea17cea70f9913e9c4496dcc
just clone-submodule tasks/prettier_conformance/prettier https://github.com/prettier/prettier.git 52829385bcc4d785e58ae2602c0b098a643523c9

# Install git pre-commit to format files
Expand Down
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/codegen_babel.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
commit: d20b314c
commit: 54a8389f

codegen_babel Summary:
AST Parsed : 2210/2210 (100.00%)
Positive Passed: 2210/2210 (100.00%)
AST Parsed : 2218/2218 (100.00%)
Positive Passed: 2218/2218 (100.00%)
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/codegen_test262.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
commit: 06454619
commit: fd979d85

codegen_test262 Summary:
AST Parsed : 43851/43851 (100.00%)
Positive Passed: 43851/43851 (100.00%)
AST Parsed : 44026/44026 (100.00%)
Positive Passed: 44026/44026 (100.00%)
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/codegen_typescript.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
commit: df9d1650
commit: d85767ab

codegen_typescript Summary:
AST Parsed : 6490/6490 (100.00%)
Positive Passed: 6490/6490 (100.00%)
AST Parsed : 6503/6503 (100.00%)
Positive Passed: 6503/6503 (100.00%)
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/minifier_babel.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
commit: d20b314c
commit: 54a8389f

minifier_babel Summary:
AST Parsed : 1728/1728 (100.00%)
Positive Passed: 1728/1728 (100.00%)
AST Parsed : 1732/1732 (100.00%)
Positive Passed: 1732/1732 (100.00%)
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/minifier_test262.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
commit: 06454619
commit: fd979d85

minifier_test262 Summary:
AST Parsed : 43851/43851 (100.00%)
Positive Passed: 43851/43851 (100.00%)
AST Parsed : 44026/44026 (100.00%)
Positive Passed: 44026/44026 (100.00%)
46 changes: 40 additions & 6 deletions tasks/coverage/snapshots/parser_babel.snap
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
commit: d20b314c
commit: 54a8389f

parser_babel Summary:
AST Parsed : 2197/2210 (99.41%)
Positive Passed: 2183/2210 (98.78%)
Negative Passed: 1510/1633 (92.47%)
AST Parsed : 2205/2218 (99.41%)
Positive Passed: 2190/2218 (98.74%)
Negative Passed: 1510/1634 (92.41%)
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/annex-b/enabled/3.1-sloppy-labeled-functions-if-body/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/categorized/invalid-fn-decl-labeled-inside-if/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/categorized/invalid-fn-decl-labeled-inside-loop/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/categorized/invalid-startindex-and-startline-specified-without-startcolumn/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/categorized/startline-and-startcolumn-specified/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/categorized/startline-specified/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/escape-string/non-octal-eight-and-nine/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/escape-string/non-octal-eight-and-nine-before-use-strict/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-func/input.js
Expand All @@ -25,8 +28,6 @@ Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/comma-after-spread-nested/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/no-pattern-in-rest/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/no-pattern-in-rest-with-ts/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/invalid-trailing-comma/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/invalid-trailing-comma/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-private-properties/failure-delete-optional-private-property/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-properties/super-inside-function/input.js
Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-properties/yield-in-class-property-in-generator/input.js
Expand Down Expand Up @@ -443,6 +444,39 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typesc
· ─────────
10 │
╰────
Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/declare/eval-babel-7/input.ts

× Cannot assign to 'eval' in strict mode
╭─[babel/packages/babel-parser/test/fixtures/typescript/declare/eval-babel-7/input.ts:3:25]
2 │ export namespace ns {
3 │ export function eval(): void;
· ────
4 │ export function arguments(): void;
╰────

× Cannot assign to 'arguments' in strict mode
╭─[babel/packages/babel-parser/test/fixtures/typescript/declare/eval-babel-7/input.ts:4:25]
3 │ export function eval(): void;
4 │ export function arguments(): void;
· ─────────
5 │ }
╰────

× Cannot assign to 'eval' in strict mode
╭─[babel/packages/babel-parser/test/fixtures/typescript/declare/eval-babel-7/input.ts:8:18]
7 │
8 │ declare function eval(): void;
· ────
9 │ declare function arguments(): void;
╰────

× Cannot assign to 'arguments' in strict mode
╭─[babel/packages/babel-parser/test/fixtures/typescript/declare/eval-babel-7/input.ts:9:18]
8 │ declare function eval(): void;
9 │ declare function arguments(): void;
· ─────────
10 │
╰────
Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/function/declare-pattern-parameters/input.ts

× A required parameter cannot follow an optional parameter.
Expand Down
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/parser_test262.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
commit: 06454619
commit: fd979d85

parser_test262 Summary:
AST Parsed : 43851/43851 (100.00%)
Positive Passed: 43851/43851 (100.00%)
AST Parsed : 44026/44026 (100.00%)
Positive Passed: 44026/44026 (100.00%)
Negative Passed: 4320/4322 (99.95%)
Expect Syntax Error: tasks/coverage/test262/test/language/import/import-attributes/json-invalid.js
Expect Syntax Error: tasks/coverage/test262/test/language/import/import-attributes/json-named-bindings.js
Expand Down
19 changes: 14 additions & 5 deletions tasks/coverage/snapshots/parser_typescript.snap
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
commit: df9d1650
commit: d85767ab

parser_typescript Summary:
AST Parsed : 6481/6490 (99.86%)
Positive Passed: 6470/6490 (99.69%)
Negative Passed: 1239/5738 (21.59%)
AST Parsed : 6494/6503 (99.86%)
Positive Passed: 6483/6503 (99.69%)
Negative Passed: 1239/5747 (21.56%)
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ClassDeclaration10.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ClassDeclaration11.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ClassDeclaration13.ts
Expand Down Expand Up @@ -98,6 +98,7 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/arrayLiteral
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/arrayOfSubtypeIsAssignableToReadonlyArray.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/arrayReferenceWithoutTypeArgs.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/arrayToLocaleStringES5.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/arrowExpressionBodyJSDoc.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/arrowFunctionInConstructorArgument1.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/asiPublicPrivateProtected.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/assignLambdaToNominalSubtypeOfFunction.ts
Expand Down Expand Up @@ -161,6 +162,7 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/assignmentTo
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/assignmentToReferenceTypes.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/asyncFunctionNoReturnType.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/asyncFunctionReturnExpressionErrorSpans.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/asyncIteratorExtraParameters.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/augmentExportEquals1.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/augmentExportEquals1_1.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/augmentExportEquals2.ts
Expand Down Expand Up @@ -534,7 +536,6 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationE
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitRelativeModuleError.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitToDeclarationDirWithoutCompositeAndDeclarationOptions.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitTypeofRest.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitUnknownImport.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitUsingTypeAlias1.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitVarInElidedBlock.ts
Expand Down Expand Up @@ -572,6 +573,12 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/definiteAssi
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/deleteOperator1.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/deleteReadonly.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/deleteReadonlyInStrictNullChecks.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/dependentReturnType1.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/dependentReturnType2.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/dependentReturnType3.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/dependentReturnType4.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/dependentReturnType5.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/dependentReturnType6.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/deprecatedCompilerOptions1.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/deprecatedCompilerOptions3.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/deprecatedCompilerOptions4.ts
Expand Down Expand Up @@ -1234,6 +1241,7 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/isolatedModu
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/isolatedModulesOut.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/isolatedModulesReExportType.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/isolatedModulesRequiresPreserveConstEnum.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/iteratorExtraParameters.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/javascriptImportDefaultBadExport.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/jsCheckObjectDefineThisNoCrash.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/jsDeclarationEmitExportedClassWithExtends.ts
Expand Down Expand Up @@ -2493,6 +2501,7 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/m
Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/members/privateNames/privateWriteOnlyAccessorRead.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/mixinAbstractClasses.2.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/mixinAccessModifiers.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/mixinWithBaseDependingOnSelfNoCrash1.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/accessorsOverrideMethod.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/accessorsOverrideProperty.ts
Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/accessorsOverrideProperty2.ts
Expand Down
28 changes: 25 additions & 3 deletions tasks/coverage/snapshots/semantic_babel.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
commit: d20b314c
commit: 54a8389f

semantic_babel Summary:
AST Parsed : 2210/2210 (100.00%)
Positive Passed: 1841/2210 (83.30%)
AST Parsed : 2218/2218 (100.00%)
Positive Passed: 1846/2218 (83.23%)
tasks/coverage/babel/packages/babel-parser/test/fixtures/annex-b/enabled/3.3-function-in-if-body/input.js
semantic error: Symbol scope ID mismatch for "f":
after transform: SymbolId(0): ScopeId(4294967294)
Expand Down Expand Up @@ -599,6 +599,12 @@ Cannot assign to 'arguments' in strict mode
Cannot assign to 'eval' in strict mode
Cannot assign to 'arguments' in strict mode

tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/declare/eval-babel-7/input.ts
semantic error: Cannot assign to 'eval' in strict mode
Cannot assign to 'arguments' in strict mode
Cannot assign to 'eval' in strict mode
Cannot assign to 'arguments' in strict mode

tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/declare/function-rest-trailing-comma/input.ts
semantic error: Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1)]
Expand Down Expand Up @@ -1416,6 +1422,14 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1)]
rebuilt : ScopeId(0): []

tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/module-namespace/global-in-module-babel-7/input.ts
semantic error: Bindings mismatch:
after transform: ScopeId(0): ["m"]
rebuilt : ScopeId(0): []
Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1)]
rebuilt : ScopeId(0): []

tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/module-namespace/head/input.ts
semantic error: Bindings mismatch:
after transform: ScopeId(0): ["M", "N", "m"]
Expand All @@ -1432,6 +1446,14 @@ Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(3), ScopeId(4), ScopeId(5)]
rebuilt : ScopeId(0): []

tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/module-namespace/head-declare-babel-7/input.ts
semantic error: Bindings mismatch:
after transform: ScopeId(0): ["M", "N", "m"]
rebuilt : ScopeId(0): []
Scope children mismatch:
after transform: ScopeId(0): [ScopeId(1), ScopeId(3), ScopeId(4), ScopeId(5)]
rebuilt : ScopeId(0): []

tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/module-namespace/head-export/input.ts
semantic error: Bindings mismatch:
after transform: ScopeId(0): ["X"]
Expand Down
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/semantic_test262.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
commit: 06454619
commit: fd979d85

semantic_test262 Summary:
AST Parsed : 43851/43851 (100.00%)
Positive Passed: 43311/43851 (98.77%)
AST Parsed : 44026/44026 (100.00%)
Positive Passed: 43486/44026 (98.77%)
tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-block-scoping.js
semantic error: Symbol scope ID mismatch for "f":
after transform: SymbolId(3): ScopeId(4294967294)
Expand Down
Loading

0 comments on commit 6f161de

Please sign in to comment.