« Bugzilla Issues Index
#636 — 13.4: "any AssignmentExpression"
- bug_id:
636
- creation_ts:
2012-08-31 19:22:00 -0700
- short_desc:
13.4: "any AssignmentExpression"
- delta_ts:
2012-10-26 15:34:20 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 9: July 8, 2012 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Michael Dyck
- assigned_to:
Allen Wirfs-Brock
- commentid:
1574
- comment_count:
0
- who:
Michael Dyck
- bug_when:
2012-08-31 19:22:39 -0700
In 13.4 "Generator Definitions",
under "Static Semantics: Early Errors",
rule 2 says:
"It is a Syntax Error if any AssignmentExpression Contains YieldExpression."
I'm wondering about that "any". If this is really about *any* AssignmentExpression, then you've got a problem, because every YieldExpression is contained by an AssignmentExpression (or AssignmentExpressionNoIn).
But if it's just about the AssignmentExpression in the YieldExpression production, then change "any" to "the".
- commentid:
2067
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-10-25 16:33:31 -0700
deleted any
corrected in rev 11 editor's draft
- commentid:
2144
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2012-10-26 15:34:20 -0700
in October 26, 2012 release draft