archives

« Bugzilla Issues Index

#3782 — 9.2.9 MakeConstructor: Invalid assertion in step 4


9.2.9 MakeConstructor (F, writablePrototype, prototype) Abstract Operation

Step 4.

If `prototype` was provided, `installNeeded` is always false, so step 8 does not even get executed. That means the assertion in step 4 is not even needed.


Later: I've just read the intro text and step 4 actually violates the contract for MakeConstructor. Oops... I won't say who suggested adding that assertion... :-/


fixed in rev33 editor's draft

I guess I also should have read the into text...


fixed in rev33