Skip to content

Commit

Permalink
Editorial: AssignmentElement -> AssignmentRestElement (#700)
Browse files Browse the repository at this point in the history
This was probably a copy/paste bug. This should refer to the production it
is defined in.
  • Loading branch information
sebmarkbage authored and bterlson committed Sep 29, 2016
1 parent b9c327f commit 6859bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -13831,7 +13831,7 @@ <h1>Runtime Semantics: IteratorDestructuringAssignmentEvaluation</h1>
1. Increment _n_ by 1.
1. If |DestructuringAssignmentTarget| is neither an |ObjectLiteral| nor an |ArrayLiteral|, then
1. Return ? PutValue(_lref_, _A_).
1. Let _nestedAssignmentPattern_ be the parse of the source text corresponding to |DestructuringAssignmentTarget| using either |AssignmentPattern[~Yield]| or |AssignmentPattern[+Yield]| as the goal symbol depending upon whether this |AssignmentElement| has the <sub>[Yield]</sub> parameter.
1. Let _nestedAssignmentPattern_ be the parse of the source text corresponding to |DestructuringAssignmentTarget| using either |AssignmentPattern[~Yield]| or |AssignmentPattern[+Yield]| as the goal symbol depending upon whether this |AssignmentRestElement| has the <sub>[Yield]</sub> parameter.
1. Return the result of performing DestructuringAssignmentEvaluation of _nestedAssignmentPattern_ with _A_ as the argument.
</emu-alg>
</emu-clause>
Expand Down

0 comments on commit 6859bb9

Please sign in to comment.