| // This file was procedurally generated from the following sources: |
| // - src/assignment-target-type/lefthandsideexpression-coalesce-assignment-assignmentexpression-0.case |
| // - src/assignment-target-type/invalid/direct.template |
| /*--- |
| description: Static Semantics AssignmentTargetType, Return invalid. (Direct assignment) |
| flags: [generated] |
| negative: |
| phase: parse |
| type: SyntaxError |
| info: | |
| Direct assignment |
| |
| LeftHandSideExpression ??= AssignmentExpression |
| Static Semantics AssignmentTargetType, Return invalid. |
| |
| ---*/ |
| |
| $DONOTEVALUATE(); |
| |
| function _() { |
| (x ??= y) = 1; |
| } |
| |