« Bugzilla Issues Index
#3005 — disagreement on whether parameter/let binding conflict should be error
- bug_id:
3005
- creation_ts:
2014-07-10 13:10:00 -0700
- short_desc:
disagreement on whether parameter/let binding conflict should be error
- delta_ts:
2014-08-07 14:07:39 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 25: May 22, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
WONTFIX
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Allen Wirfs-Brock
- assigned_to:
Allen Wirfs-Brock
- cc:
rossberg
- commentid:
9143
- comment_count:
0
- who:
Allen Wirfs-Brock
- bug_when:
2014-07-10 13:10:50 -0700
see Bug 2984
Spec currently says
function f(x) {
let x
}
is an early error. Also same for
try {} catch(x) {let x]}
Andreas Rossberg disagrees. Says shouldn't be an error because body is a separate scope.
Need to resolve this at a TC39 meeting.
- commentid:
9220
- comment_count:
1
- who:
Andreas Rossberg
- bug_when:
2014-07-16 00:04:07 -0700
See also: https://mail.mozilla.org/pipermail/es-discuss/2014-July/038358.html
- commentid:
9221
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-07-16 14:18:24 -0700
or see http://esdiscuss.org/topic/uniform-block-scoping
- commentid:
9717
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2014-08-07 14:07:39 -0700
July 201`4 UC39 meeting decided to leave as early errors.