11commit: 8ea03f88
22
33parser_typescript Summary:
4- AST Parsed : 9813/9815 (99.98 %)
5- Positive Passed: 9801/9815 (99.86 %)
6- Negative Passed: 1452/2542 (57.12 %)
4+ AST Parsed : 9811/9812 (99.99 %)
5+ Positive Passed: 9801/9812 (99.89 %)
6+ Negative Passed: 1455/2545 (57.17 %)
77Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ExportAssignment7.ts
88
99Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ExportAssignment8.ts
@@ -2204,24 +2204,6 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/sourceMapValidat
22042204 19 │ }
22052205 ╰────
22062206
2207- Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/unreachableDeclarations.ts
2208-
2209- × A namespace declaration is only allowed at the top level of a namespace or module.
2210- ╭─[typescript/tests/cases/compiler/unreachableDeclarations.ts:84:2]
2211- 83 │
2212- 84 │ namespace Baz { export const value = 1234 }
2213- · ───────────────────────────────────────────
2214- 85 │ }
2215- ╰────
2216-
2217- × A namespace declaration is only allowed at the top level of a namespace or module.
2218- ╭─[typescript/tests/cases/compiler/unreachableDeclarations.ts:84:2]
2219- 83 │
2220- 84 │ namespace Baz { export const value = 1234 }
2221- · ───────────────────────────────────────────
2222- 85 │ }
2223- ╰────
2224-
22252207Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/withStatementInternalComments.ts
22262208
22272209 × 'with' statements are not allowed
@@ -2245,56 +2227,6 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/async/es6/asy
22452227 132 │ }
22462228 ╰────
22472229
2248- Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts
2249-
2250- × Classes may not have a static property named 'prototype'
2251- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:53:12]
2252- 52 │ class StaticPrototype {
2253- 53 │ static prototype: number; // always an error
2254- · ─────────
2255- 54 │ prototype: string; // ok
2256- ╰────
2257-
2258- × Classes may not have a static property named 'prototype'
2259- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:63:12]
2260- 62 │ class StaticPrototypeFn {
2261- 63 │ static prototype() {} // always an error
2262- · ─────────
2263- 64 │ prototype() {} // ok
2264- ╰────
2265-
2266- × Classes may not have a static property named 'prototype'
2267- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:161:12]
2268- 160 │ var StaticPrototype_Anonymous = class {
2269- 161 │ static prototype: number; // always an error
2270- · ─────────
2271- 162 │ prototype: string; // ok
2272- ╰────
2273-
2274- × Classes may not have a static property named 'prototype'
2275- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:171:12]
2276- 170 │ var StaticPrototypeFn_Anonymous = class {
2277- 171 │ static prototype() {} // always an error
2278- · ─────────
2279- 172 │ prototype() {} // ok
2280- ╰────
2281-
2282- × Classes may not have a static property named 'prototype'
2283- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:278:16]
2284- 277 │ export default class StaticPrototype {
2285- 278 │ static prototype: number; // always an error
2286- · ─────────
2287- 279 │ prototype: string; // ok
2288- ╰────
2289-
2290- × Classes may not have a static property named 'prototype'
2291- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:290:16]
2292- 289 │ export default class StaticPrototypeFn {
2293- 290 │ static prototype() {} // always an error
2294- · ─────────
2295- 291 │ prototype() {} // ok
2296- ╰────
2297-
22982230Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInScriptContext1.ts
22992231
23002232 × Cannot assign to 'arguments' in strict mode
@@ -2304,16 +2236,6 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/dynamicImport
23042236 · ─────────
23052237 ╰────
23062238
2307- Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/es2019/importMeta/importMeta.ts
2308-
2309- × The only valid meta property for import is import.meta
2310- ╭─[typescript/tests/cases/conformance/es2019/importMeta/importMeta.ts:2:16]
2311- 1 │ export let x = import.meta;
2312- 2 │ export let y = import.metal;
2313- · ────────────
2314- 3 │ export let z = import.import.import.malkovich;
2315- ╰────
2316-
23172239Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/es6/moduleExportsSystem/topLevelVarHoistingCommonJS.ts
23182240
23192241 × 'with' statements are not allowed
@@ -12088,6 +12010,22 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/statements/Va
1208812010 2 │ type U2 = string | (foo: number) => void
1208912011 ╰────
1209012012
12013+ × A namespace declaration is only allowed at the top level of a namespace or module.
12014+ ╭─[typescript/tests/cases/compiler/unreachableDeclarations.ts:84:2]
12015+ 83 │
12016+ 84 │ namespace Baz { export const value = 1234 }
12017+ · ───────────────────────────────────────────
12018+ 85 │ }
12019+ ╰────
12020+
12021+ × A namespace declaration is only allowed at the top level of a namespace or module.
12022+ ╭─[typescript/tests/cases/compiler/unreachableDeclarations.ts:84:2]
12023+ 83 │
12024+ 84 │ namespace Baz { export const value = 1234 }
12025+ · ───────────────────────────────────────────
12026+ 85 │ }
12027+ ╰────
12028+
1209112029 × Unterminated regular expression
1209212030 ╭─[typescript/tests/cases/compiler/unterminatedRegexAtEndOfSource1.ts:1:9]
1209312031 1 │ var a = /
@@ -14796,6 +14734,54 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/statements/Va
1479614734 4 │ }
1479714735 ╰────
1479814736
14737+ × Classes may not have a static property named 'prototype'
14738+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:53:12]
14739+ 52 │ class StaticPrototype {
14740+ 53 │ static prototype: number; // always an error
14741+ · ─────────
14742+ 54 │ prototype: string; // ok
14743+ ╰────
14744+
14745+ × Classes may not have a static property named 'prototype'
14746+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:63:12]
14747+ 62 │ class StaticPrototypeFn {
14748+ 63 │ static prototype() {} // always an error
14749+ · ─────────
14750+ 64 │ prototype() {} // ok
14751+ ╰────
14752+
14753+ × Classes may not have a static property named 'prototype'
14754+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:161:12]
14755+ 160 │ var StaticPrototype_Anonymous = class {
14756+ 161 │ static prototype: number; // always an error
14757+ · ─────────
14758+ 162 │ prototype: string; // ok
14759+ ╰────
14760+
14761+ × Classes may not have a static property named 'prototype'
14762+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:171:12]
14763+ 170 │ var StaticPrototypeFn_Anonymous = class {
14764+ 171 │ static prototype() {} // always an error
14765+ · ─────────
14766+ 172 │ prototype() {} // ok
14767+ ╰────
14768+
14769+ × Classes may not have a static property named 'prototype'
14770+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:278:16]
14771+ 277 │ export default class StaticPrototype {
14772+ 278 │ static prototype: number; // always an error
14773+ · ─────────
14774+ 279 │ prototype: string; // ok
14775+ ╰────
14776+
14777+ × Classes may not have a static property named 'prototype'
14778+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:290:16]
14779+ 289 │ export default class StaticPrototypeFn {
14780+ 290 │ static prototype() {} // always an error
14781+ · ─────────
14782+ 291 │ prototype() {} // ok
14783+ ╰────
14784+
1479914785 × Identifier `x` has already been declared
1480014786 ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/twoAccessorsWithSameName.ts:2:9]
1480114787 1 │ class C {
@@ -15205,6 +15191,14 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/statements/Va
1520515191 9 │ const z = tag`\u{hello} \xtraordinary wonderful \uworld` // should work with Tagged NoSubstitutionTemplate
1520615192 ╰────
1520715193
15194+ × The only valid meta property for import is import.meta
15195+ ╭─[typescript/tests/cases/conformance/es2019/importMeta/importMeta.ts:2:16]
15196+ 1 │ export let x = import.meta;
15197+ 2 │ export let y = import.metal;
15198+ · ────────────
15199+ 3 │ export let z = import.import.import.malkovich;
15200+ ╰────
15201+
1520815202 × Identifier expected.
1520915203 ╭─[typescript/tests/cases/conformance/es2022/arbitraryModuleNamespaceIdentifiers/arbitraryModuleNamespaceIdentifiers_syntax.ts:1:17]
1521015204 1 │ import { foo as "invalid 2" } from "./values-valid";
0 commit comments