« Bugzilla Issues Index
#2323 — 13.1.*: Behaviour for top-level GeneratorDeclarations unclear
- bug_id:
2323
- creation_ts:
2013-11-20 05:06:00 -0800
- short_desc:
13.1.*: Behaviour for top-level GeneratorDeclarations unclear
- delta_ts:
2014-07-16 17:06:41 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 21: November 8, 2013 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:
6844
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-11-20 05:06:51 -0800
The rev21 changes in 13.1.4-13.1.7 seem to indicate that top-level GeneratorDeclarations are intended to act like FunctionDeclarations, but in 9.2.13 "Function Declaration Instantiation" and 15.2.8 "GlobalDeclarationInstantiation" top-level GeneratorDeclarations act like other lexical declarations forms (i.e. "let", "const" or "class").
- commentid:
6848
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-11-20 08:47:50 -0800
yes, 9.2.13 and 15.2.8
In all contexts a function * declaration should bind just like a function declaration for the same name.
- commentid:
9229
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-07-16 17:06:41 -0700
fixed in rev24