Skip to content

Commit

Permalink
Normative: Add [?Yield] to PropertyName in AssignmentProperty
Browse files Browse the repository at this point in the history
This was an oversight in the ES6 grammar. Fixes #388. Fixes #442.
  • Loading branch information
jmdyck authored and bterlson committed Mar 1, 2016
1 parent cfd0fff commit e6284b9
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 @@ -13601,7 +13601,7 @@ <h2>Supplemental Syntax</h2>

AssignmentProperty[Yield] :
IdentifierReference[?Yield] Initializer[In, ?Yield]?
PropertyName `:` AssignmentElement[?Yield]
PropertyName[?Yield] `:` AssignmentElement[?Yield]

AssignmentElement[Yield] :
DestructuringAssignmentTarget[?Yield] Initializer[In, ?Yield]?
Expand Down

0 comments on commit e6284b9

Please sign in to comment.