« Bugzilla Issues Index
#813 — 12.6.4: "LexicallyDeclaredNames of ForDeclaration"
- bug_id:
813
- creation_ts:
2012-10-24 17:20:00 -0700
- short_desc:
12.6.4: "LexicallyDeclaredNames of ForDeclaration"
- delta_ts:
2012-10-26 15:34:09 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 10: September 27, 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:
2022
- comment_count:
0
- who:
Michael Dyck
- bug_when:
2012-10-24 17:20:05 -0700
In 12.6.4 "The for-in and for-of Statements",
under "Static Semantics: Early Errors",
group 2 bullet 1 says:
It is a Syntax Error if any element of the LexicallyDeclaredNames
of ForDeclaration also occurs in the VarDeclaredNames of Statement.
but LexicallyDeclaredNames is not defined on ForDeclaration.
(And ForDeclaration doesn't participate in any chain productions,
so it can't be defined implicitly.)
Change "LexicallyDeclaredNames" to "BoundNames", I think.
- commentid:
2029
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-10-24 19:38:52 -0700
Corrected in rev 11 editor's draft
- commentid:
2109
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2012-10-26 15:34:09 -0700
in October 26, 2012 release draft