@@ -2,8 +2,8 @@ commit: 81c95189
22
33parser_typescript Summary:
44AST Parsed : 6693/6700 (99.90%)
5- Positive Passed: 6682 /6700 (99.73 %)
6- Negative Passed: 1418 /5598 (25.33 %)
5+ Positive Passed: 6680 /6700 (99.70 %)
6+ Negative Passed: 1422 /5598 (25.40 %)
77Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ExportAssignment7.ts
88
99Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ExportAssignment8.ts
@@ -4362,8 +4362,6 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/c
43624362
43634363Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractConstructorAssignability.ts
43644364
4365- Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractDeclarations.d.ts
4366-
43674365Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractExtends.ts
43684366
43694367Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractFactoryFunction.ts
@@ -7114,10 +7112,6 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ec
71147112
71157113Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserBlockStatement1.d.ts
71167114
7117- Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserBreakStatement1.d.ts
7118-
7119- Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserContinueStatement1.d.ts
7120-
71217115Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserDebuggerStatement1.d.ts
71227116
71237117Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserDoStatement1.d.ts
@@ -7180,8 +7174,6 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ec
71807174
71817175Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserWhileStatement1.d.ts
71827176
7183- Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserWithStatement1.d.ts
7184-
71857177Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode1.ts
71867178
71877179Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode15-negative.ts
@@ -8471,6 +8463,40 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/elidedEmbeddedSt
84718463 24 │ const enum H {}
84728464 ╰────
84738465
8466+ Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/evalOrArgumentsInDeclarationFunctions.ts
8467+
8468+ × Cannot assign to 'eval' in strict mode
8469+ ╭─[typescript/tests/cases/compiler/evalOrArgumentsInDeclarationFunctions.ts:3:25]
8470+ 2 │ export namespace ns {
8471+ 3 │ export function eval(): void;
8472+ · ────
8473+ 4 │ export function arguments(): void;
8474+ ╰────
8475+
8476+ × Cannot assign to 'arguments' in strict mode
8477+ ╭─[typescript/tests/cases/compiler/evalOrArgumentsInDeclarationFunctions.ts:4:25]
8478+ 3 │ export function eval(): void;
8479+ 4 │ export function arguments(): void;
8480+ · ─────────
8481+ 5 │ }
8482+ ╰────
8483+
8484+ × Cannot assign to 'eval' in strict mode
8485+ ╭─[typescript/tests/cases/compiler/evalOrArgumentsInDeclarationFunctions.ts:8:18]
8486+ 7 │
8487+ 8 │ declare function eval(): void;
8488+ · ────
8489+ 9 │ declare function arguments(): void;
8490+ ╰────
8491+
8492+ × Cannot assign to 'arguments' in strict mode
8493+ ╭─[typescript/tests/cases/compiler/evalOrArgumentsInDeclarationFunctions.ts:9:18]
8494+ 8 │ declare function eval(): void;
8495+ 9 │ declare function arguments(): void;
8496+ · ─────────
8497+ 10 │
8498+ ╰────
8499+
84748500Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/moduleResolutionWithExtensions_unexpected2.ts
84758501
84768502 × Expected a semicolon or an implicit semicolon after a statement, but found none
@@ -8630,6 +8656,23 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/es6/moduleExp
86308656 65 │ var y = _;
86318657 ╰────
86328658
8659+ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/externalModules/topLevelAwait.3.ts
8660+
8661+ × The keyword 'await' is reserved
8662+ ╭─[typescript/tests/cases/conformance/externalModules/topLevelAwait.3.ts:3:15]
8663+ 2 │ export {};
8664+ 3 │ declare const await: any;
8665+ · ──────────
8666+ 4 │ declare class C extends await {}
8667+ ╰────
8668+
8669+ × The keyword 'await' is reserved
8670+ ╭─[typescript/tests/cases/conformance/externalModules/topLevelAwait.3.ts:4:25]
8671+ 3 │ declare const await: any;
8672+ 4 │ declare class C extends await {}
8673+ · ─────
8674+ ╰────
8675+
86338676Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/moduleResolution/untypedModuleImport.ts
86348677
86358678 × Expected a semicolon or an implicit semicolon after a statement, but found none
@@ -18590,6 +18633,14 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/salsa/private
1859018633 9 │ }
1859118634 ╰────
1859218635
18636+ × TS(1242): 'abstract' modifier can only appear on a class, method, or property declaration.
18637+ ╭─[typescript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractDeclarations.d.ts:2:14]
18638+ 1 │ declare abstract class A {
18639+ 2 │ abstract constructor() {}
18640+ · ───────────
18641+ 3 │ }
18642+ ╰────
18643+
1859318644 × Function implementation is missing or not immediately following the declaration.
1859418645 ╭─[typescript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts:46:5]
1859518646 45 │ abstract nom(): boolean;
@@ -28110,6 +28161,20 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/salsa/private
2811028161 3 │ }
2811128162 ╰────
2811228163
28164+ × Illegal break statement
28165+ ╭─[typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserBreakStatement1.d.ts:1:1]
28166+ 1 │ break;
28167+ · ──────
28168+ ╰────
28169+ help: A `break` statement can only be used within an enclosing iteration or switch statement.
28170+
28171+ × Illegal continue statement: no surrounding iteration statement
28172+ ╭─[typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserContinueStatement1.d.ts:1:1]
28173+ 1 │ continue;
28174+ · ─────────
28175+ ╰────
28176+ help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
28177+
2811328178 × Expected `;` but found `Identifier`
2811428179 ╭─[typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement2.ts:1:13]
2811528180 1 │ for (var of X) {
@@ -28262,6 +28327,13 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/salsa/private
2826228327 · ──────
2826328328 ╰────
2826428329
28330+ × 'with' statements are not allowed
28331+ ╭─[typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserWithStatement1.d.ts:1:1]
28332+ 1 │ with (foo) {
28333+ · ────
28334+ 2 │ }
28335+ ╰────
28336+
2826528337 × TS(1108): A 'return' statement can only be used within a function body.
2826628338 ╭─[typescript/tests/cases/conformance/parser/ecmascript5/Statements/parserWithStatement2.ts:2:3]
2826728339 1 │ with (1)
0 commit comments