« Bugzilla Issues Index
#2504 — 14.2 Arrow Function: Add [Yield] production parameter to ArrowFunction and ArrowParameters
- bug_id:
2504
- creation_ts:
2014-02-06 08:31:00 -0800
- short_desc:
14.2 Arrow Function: Add [Yield] production parameter to ArrowFunction and ArrowParameters
- delta_ts:
2014-04-06 11:29:47 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 22: January 20, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
7198
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-02-06 08:31:29 -0800
14.2 Arrow Function Definitions:
The production rules for "ArrowFunction" and "ArrowParameters" need to have the [Yield] production parameter to avoid a reduce/reduce conflict.
The rules should be updated to:
---
AssignmentExpression[In, Yield] :
ArrowFunction[?In, ?Yield]
ArrowFunction[In, Yield] :
ArrowParameters[?Yield] => ConciseBody[?In]
ArrowParameters[Yield] :
BindingIdentifier[?Yield]
CoverParenthesisedExpressionAndArrowParameterList[?Yield]
---
- commentid:
7207
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-02-07 10:08:17 -0800
fixed in rev23 editor's draft
- commentid:
7531
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-06 11:29:47 -0700
fixed in rev23 draft