« Bugzilla Issues Index
#2644 — 9.2.14 Function Declaration Instantiation: "arguments" binding not checked when processing variable statements
- bug_id:
2644
- creation_ts:
2014-04-11 11:40:00 -0700
- short_desc:
9.2.14 Function Declaration Instantiation: "arguments" binding not checked when processing variable statements
- delta_ts:
2014-04-29 22:11:05 -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:
7676
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-04-11 11:40:17 -0700
9.2.14 Function Declaration Instantiation:
Step 26.a also needs to check the variable name is "arguments" and needsArgumentsBinding is true. In that case, no binding must be created.
Test case:
---
function f(y) {
var arguments;
return arguments;
}
typeof f(0)
---
Expected: Returns "object"
Actual: Assertion error in step 26.a.i
- commentid:
7697
- comment_count:
1
- who:
André Bargull
- bug_when:
2014-04-12 00:39:10 -0700
Step 25 instead of step 26.
- commentid:
7712
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-12 15:26:59 -0700
fixed in rev24 editor's draft
- commentid:
7999
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-29 22:11:05 -0700
fixed in rev24