« Bugzilla Issues Index
#4189 — 14.1.18 IteratorBindingInitialization: Add assertion or note "originalEnv == environment" ?
- bug_id:
4189
- creation_ts:
2015-03-18 10:16:00 -0700
- short_desc:
14.1.18 IteratorBindingInitialization: Add assertion or note "originalEnv == environment" ?
- delta_ts:
2015-04-03 12:35:39 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 36: March 17, 2015 Release Candidate 3
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
13892
- comment_count:
0
- who:
André Bargull
- bug_when:
2015-03-18 10:16:01 -0700
14.1.18 Runtime Semantics: IteratorBindingInitialization
FormalParameter : BindingElement
- step 4
I wonder if it makes sense to add an assertion or note that `originalEnv` is the same lexical environment as `environment`. So it's easier for a reader to understand why the outer lexical environment reference of `paramVarEnv` is set to `originalEnv` instead of `environment`.
- commentid:
14012
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-04-02 06:54:03 -0700
fixed in rev37 editor's draft
- commentid:
14100
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-04-03 12:35:39 -0700
In Rev37