Re: [heycam/webidl] Set `[[IsClassConstructor]]` for interfaces without overriden constructor steps (#831)

There seems to be no observable effect of this. The ES spec [says](https://tc39.es/ecma262/#sec-built-in-function-objects):

> If a built-in constructor has any [[Call]] behaviour other than throwing a **TypeError** exception, an ECMAScript implementation of the function must be done in a manner that does not cause the function's [[IsClassConstructor]] internal slot to have the value **true**.

but doesn't say anything about constructors whose sole [[Call]] behavior is to throw a **TypeError**, which I suppose could have [[IsClassConstructor]] either be **true** or **false**. Web IDL inherits this sentence as interface objects are also built-in functions.

I recommend this issue be closed. Issues with any particular implementation of Web IDL, including webidl2js, should be filed at the respective location.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/831#issuecomment-603591562

Received on Wednesday, 25 March 2020 01:36:33 UTC