« Bugzilla Issues Index
#1804 — ClassDefinition and ClassExpression name
- bug_id:
1804
- creation_ts:
2013-08-23 07:43:00 -0700
- short_desc:
ClassDefinition and ClassExpression name
- delta_ts:
2015-07-10 08:34:25 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 16: July 15, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Erik Arvidsson
- assigned_to:
Allen Wirfs-Brock
- cc:
erik.arvidsson
- commentid:
5014
- comment_count:
0
- who:
Erik Arvidsson
- bug_when:
2013-08-23 07:43:37 -0700
Currently we don't set the name for the constructor for either ClassDefinition nor ClassExpression. We probably should:
class C {}
assert(C.name == 'C');
var D = class E {};
assert(C.name == 'E');
- commentid:
6011
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-28 12:17:33 -0700
fixed in rev20 editor's draft
- commentid:
6169
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-29 09:46:54 -0700
fixed in rev20 draft, Oct. 28, 2013