- From: <bugzilla@jessica.w3.org>
- Date: Mon, 09 Feb 2015 17:04:25 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22808 --- Comment #12 from Erik Arvidsson <arv@google.com> --- (In reply to Boris Zbarsky from comment #11) > I just looked at ES6 again, and I'd like to see the edits Allen is making to > the whole [[Call]]/[[Construct]]/@@create setup right now land before we > change things in IDL here. Because we're going to need to override > [[Construct]] to not invoke [[Call]] and whatnot, but the exact interaction > will depend on exactly what ES looks like. In ES6, constructor functions created using the class syntax gets marked with "classConstructor" and in the [[Call]] behavior, http://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-function-objects-call-thisargument-argumentslist we have 2. If F’s [[FunctionKind]] internal slot is "classConstructor", throw a TypeError exception. -- You are receiving this mail because: You are on the CC list for the bug.
Received on Monday, 9 February 2015 17:04:30 UTC