blob: 2cd321afeedb9da10edd8632a4836cf745355f5e [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/assignment-target-type/arrowfunction-2.case
// - src/assignment-target-type/invalid/parenthesized.template
/*---
description: Static Semantics AssignmentTargetType, Return invalid. (ParenthesizedExpression)
esid: sec-grouping-operator-static-semantics-assignmenttargettype
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
ParenthesizedExpression: (Expression)
Return AssignmentTargetType of Expression.
ArrowFunction
Static Semantics AssignmentTargetType, Return invalid.
---*/
$DONOTEVALUATE();
function _() {
((x => x)) = 1;
}