11commit: 8ea03f88
22
33parser_typescript Summary:
4- AST Parsed : 9818/9820 (99.98 %)
5- Positive Passed: 9806/9820 (99.86 %)
6- Negative Passed: 1452/2537 (57.23 %)
4+ AST Parsed : 9816/9817 (99.99 %)
5+ Positive Passed: 9806/9817 (99.89 %)
6+ Negative Passed: 1455/2540 (57.28 %)
77Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ExportAssignment7.ts
88
99Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ExportAssignment8.ts
@@ -2194,24 +2194,6 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/sourceMapValidat
21942194 19 │ }
21952195 ╰────
21962196
2197- Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/unreachableDeclarations.ts
2198-
2199- × A namespace declaration is only allowed at the top level of a namespace or module.
2200- ╭─[typescript/tests/cases/compiler/unreachableDeclarations.ts:84:2]
2201- 83 │
2202- 84 │ namespace Baz { export const value = 1234 }
2203- · ───────────────────────────────────────────
2204- 85 │ }
2205- ╰────
2206-
2207- × A namespace declaration is only allowed at the top level of a namespace or module.
2208- ╭─[typescript/tests/cases/compiler/unreachableDeclarations.ts:84:2]
2209- 83 │
2210- 84 │ namespace Baz { export const value = 1234 }
2211- · ───────────────────────────────────────────
2212- 85 │ }
2213- ╰────
2214-
22152197Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/withStatementInternalComments.ts
22162198
22172199 × 'with' statements are not allowed
@@ -2235,56 +2217,6 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/async/es6/asy
22352217 132 │ }
22362218 ╰────
22372219
2238- Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts
2239-
2240- × Classes may not have a static property named 'prototype'
2241- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:53:12]
2242- 52 │ class StaticPrototype {
2243- 53 │ static prototype: number; // always an error
2244- · ─────────
2245- 54 │ prototype: string; // ok
2246- ╰────
2247-
2248- × Classes may not have a static property named 'prototype'
2249- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:63:12]
2250- 62 │ class StaticPrototypeFn {
2251- 63 │ static prototype() {} // always an error
2252- · ─────────
2253- 64 │ prototype() {} // ok
2254- ╰────
2255-
2256- × Classes may not have a static property named 'prototype'
2257- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:161:12]
2258- 160 │ var StaticPrototype_Anonymous = class {
2259- 161 │ static prototype: number; // always an error
2260- · ─────────
2261- 162 │ prototype: string; // ok
2262- ╰────
2263-
2264- × Classes may not have a static property named 'prototype'
2265- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:171:12]
2266- 170 │ var StaticPrototypeFn_Anonymous = class {
2267- 171 │ static prototype() {} // always an error
2268- · ─────────
2269- 172 │ prototype() {} // ok
2270- ╰────
2271-
2272- × Classes may not have a static property named 'prototype'
2273- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:278:16]
2274- 277 │ export default class StaticPrototype {
2275- 278 │ static prototype: number; // always an error
2276- · ─────────
2277- 279 │ prototype: string; // ok
2278- ╰────
2279-
2280- × Classes may not have a static property named 'prototype'
2281- ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:290:16]
2282- 289 │ export default class StaticPrototypeFn {
2283- 290 │ static prototype() {} // always an error
2284- · ─────────
2285- 291 │ prototype() {} // ok
2286- ╰────
2287-
22882220Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInScriptContext1.ts
22892221
22902222 × Cannot assign to 'arguments' in strict mode
@@ -2294,16 +2226,6 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/dynamicImport
22942226 · ─────────
22952227 ╰────
22962228
2297- Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/es2019/importMeta/importMeta.ts
2298-
2299- × The only valid meta property for import is import.meta
2300- ╭─[typescript/tests/cases/conformance/es2019/importMeta/importMeta.ts:2:16]
2301- 1 │ export let x = import.meta;
2302- 2 │ export let y = import.metal;
2303- · ────────────
2304- 3 │ export let z = import.import.import.malkovich;
2305- ╰────
2306-
23072229Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/es6/moduleExportsSystem/topLevelVarHoistingCommonJS.ts
23082230
23092231 × 'with' statements are not allowed
@@ -12078,6 +12000,22 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/statements/Va
1207812000 2 │ type U2 = string | (foo: number) => void
1207912001 ╰────
1208012002
12003+ × A namespace declaration is only allowed at the top level of a namespace or module.
12004+ ╭─[typescript/tests/cases/compiler/unreachableDeclarations.ts:84:2]
12005+ 83 │
12006+ 84 │ namespace Baz { export const value = 1234 }
12007+ · ───────────────────────────────────────────
12008+ 85 │ }
12009+ ╰────
12010+
12011+ × A namespace declaration is only allowed at the top level of a namespace or module.
12012+ ╭─[typescript/tests/cases/compiler/unreachableDeclarations.ts:84:2]
12013+ 83 │
12014+ 84 │ namespace Baz { export const value = 1234 }
12015+ · ───────────────────────────────────────────
12016+ 85 │ }
12017+ ╰────
12018+
1208112019 × Unterminated regular expression
1208212020 ╭─[typescript/tests/cases/compiler/unterminatedRegexAtEndOfSource1.ts:1:9]
1208312021 1 │ var a = /
@@ -14786,6 +14724,54 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/statements/Va
1478614724 4 │ }
1478714725 ╰────
1478814726
14727+ × Classes may not have a static property named 'prototype'
14728+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:53:12]
14729+ 52 │ class StaticPrototype {
14730+ 53 │ static prototype: number; // always an error
14731+ · ─────────
14732+ 54 │ prototype: string; // ok
14733+ ╰────
14734+
14735+ × Classes may not have a static property named 'prototype'
14736+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:63:12]
14737+ 62 │ class StaticPrototypeFn {
14738+ 63 │ static prototype() {} // always an error
14739+ · ─────────
14740+ 64 │ prototype() {} // ok
14741+ ╰────
14742+
14743+ × Classes may not have a static property named 'prototype'
14744+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:161:12]
14745+ 160 │ var StaticPrototype_Anonymous = class {
14746+ 161 │ static prototype: number; // always an error
14747+ · ─────────
14748+ 162 │ prototype: string; // ok
14749+ ╰────
14750+
14751+ × Classes may not have a static property named 'prototype'
14752+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:171:12]
14753+ 170 │ var StaticPrototypeFn_Anonymous = class {
14754+ 171 │ static prototype() {} // always an error
14755+ · ─────────
14756+ 172 │ prototype() {} // ok
14757+ ╰────
14758+
14759+ × Classes may not have a static property named 'prototype'
14760+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:278:16]
14761+ 277 │ export default class StaticPrototype {
14762+ 278 │ static prototype: number; // always an error
14763+ · ─────────
14764+ 279 │ prototype: string; // ok
14765+ ╰────
14766+
14767+ × Classes may not have a static property named 'prototype'
14768+ ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:290:16]
14769+ 289 │ export default class StaticPrototypeFn {
14770+ 290 │ static prototype() {} // always an error
14771+ · ─────────
14772+ 291 │ prototype() {} // ok
14773+ ╰────
14774+
1478914775 × Identifier `x` has already been declared
1479014776 ╭─[typescript/tests/cases/conformance/classes/propertyMemberDeclarations/twoAccessorsWithSameName.ts:2:9]
1479114777 1 │ class C {
@@ -15195,6 +15181,14 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/statements/Va
1519515181 9 │ const z = tag`\u{hello} \xtraordinary wonderful \uworld` // should work with Tagged NoSubstitutionTemplate
1519615182 ╰────
1519715183
15184+ × The only valid meta property for import is import.meta
15185+ ╭─[typescript/tests/cases/conformance/es2019/importMeta/importMeta.ts:2:16]
15186+ 1 │ export let x = import.meta;
15187+ 2 │ export let y = import.metal;
15188+ · ────────────
15189+ 3 │ export let z = import.import.import.malkovich;
15190+ ╰────
15191+
1519815192 × Identifier expected.
1519915193 ╭─[typescript/tests/cases/conformance/es2022/arbitraryModuleNamespaceIdentifiers/arbitraryModuleNamespaceIdentifiers_syntax.ts:1:17]
1520015194 1 │ import { foo as "invalid 2" } from "./values-valid";
0 commit comments