blob: a9bef45f07851363af7014fbd6ef300d4f158a70 [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/assignment-target-type/lefthandsideexpression-logical-or-assignment-assignmentexpression-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.
LeftHandSideExpression ||= AssignmentExpression
Static Semantics AssignmentTargetType, Return invalid.
---*/
$DONOTEVALUATE();
function _() {
((x ||= true)) = 1;
}