« Bugzilla Issues Index
#3473 — 7.3.18 GetPrototypeFromConstructor: unreachable condition in step 2
- bug_id:
3473
- creation_ts:
2014-12-17 14:15:00 -0800
- short_desc:
7.3.18 GetPrototypeFromConstructor: unreachable condition in step 2
- delta_ts:
2014-12-23 20:23:24 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 29: December 06, 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:
11076
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-12-17 14:15:53 -0800
7.3.18 GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto )
GetPrototypeFromConstructor is always called with a Constructor object, so the dynamic type check is superfluous. Maybe change to an assertion?
Similar:
7.3.19 CreateFromConstructor (F, argumentsList)
- The assertion in step 1 can be strengthened to: `Assert: IsConstructor(F) is true.`
7.3.20 Construct (F, argumentsList)
- The assertion in step 1 can be strengthened to: `Assert: IsConstructor(F) is true.`
- commentid:
11078
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-12-17 16:19:57 -0800
fixed in rev30 editor's draft
- commentid:
11147
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-12-23 20:23:24 -0800
fixed in rev30