« Bugzilla Issues Index
#3561 — 12.3.5.1, SuperCall : super Argument
- bug_id:
3561
- creation_ts:
2015-01-16 08:34:00 -0800
- short_desc:
12.3.5.1, SuperCall : super Argument
- delta_ts:
2015-07-10 08:34:21 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 31: January 15, 2015 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Erik Arvidsson
- assigned_to:
Allen Wirfs-Brock
- cc:
["claude.pache", "erik.arvidsson"]
- commentid:
11490
- comment_count:
0
- who:
Erik Arvidsson
- bug_when:
2015-01-16 08:34:42 -0800
SuperCall : super Arguments
1. If IsThisInitialized() is false, throw a ReferenceError exception
Is this really correct? I though we wanted the following to work:
class Derived extends Base {
constructor() {
super();
}
}
- commentid:
11491
- comment_count:
1
- who:
Erik Arvidsson
- bug_when:
2015-01-16 08:36:13 -0800
The line should be
1. If IsThisInitialized() is true, throw a ReferenceError exception
false -> true
since calling super() on an already initialized this is the error we want.
- commentid:
11507
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-01-16 10:22:30 -0800
fixed in rev32 editor's draft
- commentid:
11972
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-02 18:38:55 -0800
fixed in rev32 draft