« Bugzilla Issues Index
#2640 — 14.4.13 EvaluateBody: Invalid assertion in step 1
- bug_id:
2640
- creation_ts:
2014-04-11 11:19:00 -0700
- short_desc:
14.4.13 EvaluateBody: Invalid assertion in step 1
- delta_ts:
2014-05-06 16:31:43 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 23: April 5, 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:
7672
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-04-11 11:19:39 -0700
14.4.13 Runtime Semantics: EvaluateBody
The assertion in step 1 is no longer valid, the current environment may also be a declarative environment record in case default parameters are used.
Test case:
---
(function*(a = 0){})()
---
- commentid:
7717
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-14 09:33:55 -0700
fixed in rev24 editor's draft
- commentid:
8175
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-05-06 16:31:43 -0700
fixed in rev24