« Bugzilla Issues Index
#3338 — 8.1.2.4 NewFunctionEnvironment: Invalid assertion in step 1
- bug_id:
3338
- creation_ts:
2014-11-13 08:42:00 -0800
- short_desc:
8.1.2.4 NewFunctionEnvironment: Invalid assertion in step 1
- delta_ts:
2014-12-07 14:35:04 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 28: October 14, 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:
10587
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-11-13 08:42:24 -0800
8.1.2.4 NewFunctionEnvironment (F, T) Abstract Operation, step 1.
The assertion is no longer valid now that arrow functions also use function environment records. The condition needs to include the value of `T`.
À la:
> Iff T is not empty, then F's [[ThisMode]] is not lexical.
- commentid:
10647
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-11-16 16:08:14 -0800
fixed in rev29 editor's draft
- commentid:
10884
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-12-07 14:35:04 -0800
fixed in rev29