archives

« Bugzilla Issues Index

#3473 — 7.3.18 GetPrototypeFromConstructor: unreachable condition in step 2


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.`


fixed in rev30 editor's draft


fixed in rev30