« Bugzilla Issues Index
#2645 — 9.2.14 Function Declaration Instantiation: Duplicate variable scoped bindings not checked
- bug_id:
2645
- creation_ts:
2014-04-11 11:43:00 -0700
- short_desc:
9.2.14 Function Declaration Instantiation: Duplicate variable scoped bindings not checked
- delta_ts:
2014-04-29 22:35:47 -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:
7677
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-04-11 11:43:22 -0700
9.2.14 Function Declaration Instantiation, step 26.
Step 26.a also needs to check if the binding is already present, varNames may contains duplicates.
Test case:
---
function f() {
var a;
var a;
}
---
Expected: No assertion error in CreateMutableBinding
Actual: Assertion error in CreateMutableBinding
- commentid:
7698
- comment_count:
1
- who:
André Bargull
- bug_when:
2014-04-12 00:39:11 -0700
Step 25 instead of step 26.
- commentid:
7711
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-12 15:21:33 -0700
fixed in rev24 editor's draft
- commentid:
8018
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-29 22:35:47 -0700
fixed in rev24