@@ -3,7 +3,7 @@ commit: cc2610fd
33parser_typescript Summary:
44AST Parsed : 9821/9822 (99.99%)
55Positive Passed: 9810/9822 (99.88%)
6- Negative Passed: 1455 /2545 (57.17 %)
6+ Negative Passed: 1461 /2545 (57.41 %)
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
@@ -4972,6 +4960,30 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/statements/Va
49724960 4 │ function h1([a, [b], [[c]], {x = 10, y = [1, 2, 3], z: {a1, b1}}]){ }
49734961 ╰────
49744962
4963+ × TS(1187): A parameter property may not be declared using a binding pattern.
4964+ ╭─[typescript/tests/cases/compiler/declarationEmitDestructuringParameterProperties.ts:2:17]
4965+ 1 │ class C1 {
4966+ 2 │ constructor(public [x, y, z]: string[]) {
4967+ · ──────────────────────────
4968+ 3 │ }
4969+ ╰────
4970+
4971+ × TS(1187): A parameter property may not be declared using a binding pattern.
4972+ ╭─[typescript/tests/cases/compiler/declarationEmitDestructuringParameterProperties.ts:8:17]
4973+ 7 │ class C2 {
4974+ 8 │ constructor(public [x, y, z]: TupleType1) {
4975+ · ────────────────────────────
4976+ 9 │ }
4977+ ╰────
4978+
4979+ × TS(1187): A parameter property may not be declared using a binding pattern.
4980+ ╭─[typescript/tests/cases/compiler/declarationEmitDestructuringParameterProperties.ts:14:17]
4981+ 13 │ class C3 {
4982+ 14 │ constructor(public { x, y, z }: ObjType1) {
4983+ · ────────────────────────────
4984+ 15 │ }
4985+ ╰────
4986+
49754987 × TS(2499): An interface can only extend an identifier/qualified-name with optional type arguments.
49764988 ╭─[typescript/tests/cases/compiler/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.ts:2:25]
49774989 1 │ class A { }
@@ -15804,6 +15816,62 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/statements/Va
1580415816 8 │ function a1({public}) { }
1580515817 ╰────
1580615818
15819+ × TS(1187): A parameter property may not be declared using a binding pattern.
15820+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties1.ts:2:17]
15821+ 1 │ class C1 {
15822+ 2 │ constructor(public [x, y, z]: string[]) {
15823+ · ──────────────────────────
15824+ 3 │ }
15825+ ╰────
15826+
15827+ × TS(1187): A parameter property may not be declared using a binding pattern.
15828+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties1.ts:9:17]
15829+ 8 │ class C2 {
15830+ 9 │ constructor(public [x, y, z]: TupleType1) {
15831+ · ────────────────────────────
15832+ 10 │ }
15833+ ╰────
15834+
15835+ × TS(1187): A parameter property may not be declared using a binding pattern.
15836+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties1.ts:16:17]
15837+ 15 │ class C3 {
15838+ 16 │ constructor(public { x, y, z }: ObjType1) {
15839+ · ────────────────────────────
15840+ 17 │ }
15841+ ╰────
15842+
15843+ × TS(1187): A parameter property may not be declared using a binding pattern.
15844+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties2.ts:2:36]
15845+ 1 │ class C1 {
15846+ 2 │ constructor(private k: number, private [a, b, c]: [number, string, boolean]) {
15847+ · ────────────────────────────────────────────
15848+ 3 │ if ((b === undefined && c === undefined) || (this.b === undefined && this.c === undefined)) {
15849+ ╰────
15850+
15851+ × TS(1187): A parameter property may not be declared using a binding pattern.
15852+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties3.ts:2:31]
15853+ 1 │ class C1<T, U, V> {
15854+ 2 │ constructor(private k: T, private [a, b, c]: [T,U,V]) {
15855+ · ──────────────────────────
15856+ 3 │ if ((b === undefined && c === undefined) || (this.b === undefined && this.c === undefined)) {
15857+ ╰────
15858+
15859+ × TS(1187): A parameter property may not be declared using a binding pattern.
15860+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties4.ts:2:31]
15861+ 1 │ class C1<T, U, V> {
15862+ 2 │ constructor(private k: T, protected [a, b, c]: [T,U,V]) {
15863+ · ────────────────────────────
15864+ 3 │ if ((b === undefined && c === undefined) || (this.b === undefined && this.c === undefined)) {
15865+ ╰────
15866+
15867+ × TS(1187): A parameter property may not be declared using a binding pattern.
15868+ ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties5.ts:5:17]
15869+ 4 │ class C1 {
15870+ 5 │ constructor(public [{ x1, x2, x3 }, y, z]: TupleType1) {
15871+ · ─────────────────────────────────────────
15872+ 6 │ var foo: any = x1 || x2 || x3 || y || z;
15873+ ╰────
15874+
1580715875 × Identifier `foo1` has already been declared
1580815876 ╭─[typescript/tests/cases/conformance/es6/destructuring/destructuringSameNames.ts:21:7]
1580915877 20 │
0 commit comments