diff --git a/src/dstr-assignment/array-elem-init-simple-strict.case b/src/dstr-assignment/array-elem-init-simple-strict.case deleted file mode 100644 index 3db58d5504..0000000000 --- a/src/dstr-assignment/array-elem-init-simple-strict.case +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (C) 2015 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -desc: > - It is a Syntax Error if LeftHandSideExpression is neither an - ObjectLiteral nor an ArrayLiteral and - IsValidSimpleAssignmentTarget(LeftHandSideExpression) is - false. -template: syntax -es6id: 12.14.5.1 -flags: [onlyStrict] -negative: - phase: early - type: SyntaxError ----*/ - -//- elems -[arguments] -//- values -[] diff --git a/test/language/expressions/assignment/dstr-array-elem-init-simple-strict.js b/test/language/expressions/assignment/dstr-array-elem-init-simple-strict.js deleted file mode 100644 index fc664f2025..0000000000 --- a/test/language/expressions/assignment/dstr-array-elem-init-simple-strict.js +++ /dev/null @@ -1,23 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/dstr-assignment/array-elem-init-simple-strict.case -// - src/dstr-assignment/syntax/assignment-expr.template -/*--- -description: It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral and IsValidSimpleAssignmentTarget(LeftHandSideExpression) is false. (AssignmentExpression) -esid: sec-variable-statement-runtime-semantics-evaluation -es6id: 13.3.2.4 -features: [destructuring-binding] -flags: [generated, onlyStrict] -negative: - phase: early - type: SyntaxError -info: | - VariableDeclaration : BindingPattern Initializer - - 1. Let rhs be the result of evaluating Initializer. - 2. Let rval be GetValue(rhs). - 3. ReturnIfAbrupt(rval). - 4. Return the result of performing BindingInitialization for - BindingPattern passing rval and undefined as arguments. ----*/ - -0, [arguments] = ; diff --git a/test/language/statements/for-in/dstr-array-elem-init-simple-strict.js b/test/language/statements/for-in/dstr-array-elem-init-simple-strict.js deleted file mode 100644 index 3623a69496..0000000000 --- a/test/language/statements/for-in/dstr-array-elem-init-simple-strict.js +++ /dev/null @@ -1,32 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/dstr-assignment/array-elem-init-simple-strict.case -// - src/dstr-assignment/syntax/for-in.template -/*--- -description: It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral and IsValidSimpleAssignmentTarget(LeftHandSideExpression) is false. (For..in statement) -esid: sec-for-in-and-for-of-statements-runtime-semantics-labelledevaluation -es6id: 13.7.5.11 -features: [destructuring-binding] -flags: [generated, onlyStrict] -negative: - phase: early - type: SyntaxError -info: | - IterationStatement : - for ( LeftHandSideExpression of AssignmentExpression ) Statement - - 1. Let keyResult be the result of performing ? ForIn/OfHeadEvaluation(« », - AssignmentExpression, iterate). - 2. Return ? ForIn/OfBodyEvaluation(LeftHandSideExpression, Statement, - keyResult, assignment, labelSet). - - 13.7.5.13 Runtime Semantics: ForIn/OfBodyEvaluation - - [...] - 4. If destructuring is true and if lhsKind is assignment, then - a. Assert: lhs is a LeftHandSideExpression. - b. Let assignmentPattern be the parse of the source text corresponding to - lhs using AssignmentPattern as the goal symbol. - [...] ----*/ - -for ([arguments] in []) ; diff --git a/test/language/statements/for-of/dstr-array-elem-init-simple-strict.js b/test/language/statements/for-of/dstr-array-elem-init-simple-strict.js deleted file mode 100644 index 2c4c7011f5..0000000000 --- a/test/language/statements/for-of/dstr-array-elem-init-simple-strict.js +++ /dev/null @@ -1,32 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/dstr-assignment/array-elem-init-simple-strict.case -// - src/dstr-assignment/syntax/for-of.template -/*--- -description: It is a Syntax Error if LeftHandSideExpression is neither an ObjectLiteral nor an ArrayLiteral and IsValidSimpleAssignmentTarget(LeftHandSideExpression) is false. (For..of statement) -esid: sec-for-in-and-for-of-statements-runtime-semantics-labelledevaluation -es6id: 13.7.5.11 -features: [destructuring-binding] -flags: [generated, onlyStrict] -negative: - phase: early - type: SyntaxError -info: | - IterationStatement : - for ( LeftHandSideExpression of AssignmentExpression ) Statement - - 1. Let keyResult be the result of performing ? ForIn/OfHeadEvaluation(« », - AssignmentExpression, iterate). - 2. Return ? ForIn/OfBodyEvaluation(LeftHandSideExpression, Statement, - keyResult, assignment, labelSet). - - 13.7.5.13 Runtime Semantics: ForIn/OfBodyEvaluation - - [...] - 4. If destructuring is true and if lhsKind is assignment, then - a. Assert: lhs is a LeftHandSideExpression. - b. Let assignmentPattern be the parse of the source text corresponding to - lhs using AssignmentPattern as the goal symbol. - [...] ----*/ - -for ([arguments] of []) ;