« Bugzilla Issues Index
#3985 — 12.14.5.4: "AssignmentPattern"
- bug_id:
3985
- creation_ts:
2015-02-17 15:39:00 -0800
- short_desc:
12.14.5.4: "AssignmentPattern"
- delta_ts:
2015-02-19 19:10:54 -0800
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 33: February 12, 2015 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Michael Dyck
- assigned_to:
Allen Wirfs-Brock
- commentid:
12842
- comment_count:
0
- who:
Michael Dyck
- bug_when:
2015-02-17 15:39:00 -0800
In 12.14.5.4 "Runtime Semantics: KeyedDestructuringAssignmentEvaluation",
steps 6.a and 6.b say:
a. Let AssignmentPattern be the parse of the source text corresponding to
DestructuringAssignmentTarget using either AssignmentPattern or
AssignmentPattern[Yield] as the goal symbol ...
b. Return the result of performing DestructuringAssignmentEvaluation of
AssignmentPattern with rhsValue as the argument.
I think this would be a bit clearer if you didn't use a nonterminal name as the name of a metavariable. E.g., s|Assignment|assignment| once in each step.
- commentid:
12863
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-17 17:38:33 -0800
fixed in rev34 editor's draft
- commentid:
13036
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-19 19:10:54 -0800
fixed in rev34