@@ -3,7 +3,7 @@ commit: 669c25c0
33parser_typescript Summary:
44AST Parsed : 9821/9822 (99.99%)
55Positive Passed: 9812/9822 (99.90%)
6- Negative Passed: 1457 /2547 (57.20 %)
6+ Negative Passed: 1463 /2547 (57.44 %)
77Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ExportAssignment7.ts
88
99Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/ExportAssignment8.ts
@@ -218,8 +218,6 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declFileWith
218218
219219Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitComputedPropertyNameEnum3.ts
220220
221- Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitDestructuringParameterProperties.ts
222-
223221Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitDestructuringWithOptionalBindingParameters.ts
224222
225223Expect Syntax Error: tasks/coverage/typescript/tests/cases/compiler/declarationEmitIndexTypeNotFound.ts
@@ -1308,16 +1306,6 @@ Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/es6/destr
13081306
13091307Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration1ES5iterable.ts
13101308
1311- Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties1.ts
1312-
1313- Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties2.ts
1314-
1315- Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties3.ts
1316-
1317- Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties4.ts
1318-
1319- Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties5.ts
1320-
13211309Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringSpread.ts
13221310
13231311Expect Syntax Error: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/missingAndExcessProperties.ts
@@ -4914,6 +4902,30 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/parser/ecmasc
49144902 4 │ function h1([a, [b], [[c]], {x = 10, y = [1, 2, 3], z: {a1, b1}}]){ }
49154903 ╰────
49164904
4905+ × TS(1187): A parameter property may not be declared using a binding pattern.
4906+ ╭─[typescript/tests/cases/compiler/declarationEmitDestructuringParameterProperties.ts:2:17]
4907+ 1 │ class C1 {
4908+ 2 │ constructor(public [x, y, z]: string[]) {
4909+ · ──────────────────────────
4910+ 3 │ }
4911+ ╰────
4912+
4913+ × TS(1187): A parameter property may not be declared using a binding pattern.
4914+ ╭─[typescript/tests/cases/compiler/declarationEmitDestructuringParameterProperties.ts:8:17]
4915+ 7 │ class C2 {
4916+ 8 │ constructor(public [x, y, z]: TupleType1) {
4917+ · ────────────────────────────
4918+ 9 │ }
4919+ ╰────
4920+
4921+ × TS(1187): A parameter property may not be declared using a binding pattern.
4922+ ╭─[typescript/tests/cases/compiler/declarationEmitDestructuringParameterProperties.ts:14:17]
4923+ 13 │ class C3 {
4924+ 14 │ constructor(public { x, y, z }: ObjType1) {
4925+ · ────────────────────────────
4926+ 15 │ }
4927+ ╰────
4928+
49174929 × TS(2499): An interface can only extend an identifier/qualified-name with optional type arguments.
49184930 ╭─[typescript/tests/cases/compiler/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.ts:2:25]
49194931 1 │ class A { }
@@ -15746,6 +15758,62 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/parser/ecmasc
1574615758 8 │ function a1({public}) { }
1574715759 ╰────
1574815760
15761+ × TS(1187): A parameter property may not be declared using a binding pattern.
15762+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties1.ts:2:17]
15763+ 1 │ class C1 {
15764+ 2 │ constructor(public [x, y, z]: string[]) {
15765+ · ──────────────────────────
15766+ 3 │ }
15767+ ╰────
15768+
15769+ × TS(1187): A parameter property may not be declared using a binding pattern.
15770+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties1.ts:9:17]
15771+ 8 │ class C2 {
15772+ 9 │ constructor(public [x, y, z]: TupleType1) {
15773+ · ────────────────────────────
15774+ 10 │ }
15775+ ╰────
15776+
15777+ × TS(1187): A parameter property may not be declared using a binding pattern.
15778+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties1.ts:16:17]
15779+ 15 │ class C3 {
15780+ 16 │ constructor(public { x, y, z }: ObjType1) {
15781+ · ────────────────────────────
15782+ 17 │ }
15783+ ╰────
15784+
15785+ × TS(1187): A parameter property may not be declared using a binding pattern.
15786+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties2.ts:2:36]
15787+ 1 │ class C1 {
15788+ 2 │ constructor(private k: number, private [a, b, c]: [number, string, boolean]) {
15789+ · ────────────────────────────────────────────
15790+ 3 │ if ((b === undefined && c === undefined) || (this.b === undefined && this.c === undefined)) {
15791+ ╰────
15792+
15793+ × TS(1187): A parameter property may not be declared using a binding pattern.
15794+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties3.ts:2:31]
15795+ 1 │ class C1<T, U, V> {
15796+ 2 │ constructor(private k: T, private [a, b, c]: [T,U,V]) {
15797+ · ──────────────────────────
15798+ 3 │ if ((b === undefined && c === undefined) || (this.b === undefined && this.c === undefined)) {
15799+ ╰────
15800+
15801+ × TS(1187): A parameter property may not be declared using a binding pattern.
15802+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties4.ts:2:31]
15803+ 1 │ class C1<T, U, V> {
15804+ 2 │ constructor(private k: T, protected [a, b, c]: [T,U,V]) {
15805+ · ────────────────────────────
15806+ 3 │ if ((b === undefined && c === undefined) || (this.b === undefined && this.c === undefined)) {
15807+ ╰────
15808+
15809+ × TS(1187): A parameter property may not be declared using a binding pattern.
15810+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties5.ts:5:17]
15811+ 4 │ class C1 {
15812+ 5 │ constructor(public [{ x1, x2, x3 }, y, z]: TupleType1) {
15813+ · ─────────────────────────────────────────
15814+ 6 │ var foo: any = x1 || x2 || x3 || y || z;
15815+ ╰────
15816+
1574915817 × Identifier `foo1` has already been declared
1575015818 ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringSameNames.ts:21:7]
1575115819 20 │
0 commit comments