Re: [webidl] Allow constructor<ClassType> as a type accepted by functions. (#101)

Steps 11-18 of define function is checking that the prototype has the
correct methods? Again slight different as it then stashes these functions
for use later.
On 24 Mar 2016 2:00 PM, "Domenic Denicola" <notifications@github.com> wrote:

> Hmm, I still don't know what you mean by shape. The only thing it checks
> at this point is IsConstructor.
>
> Later, it does a bunch of checks on the return value of the constructor;
> see https://w3c.github.io/webcomponents/spec/custom/#dfn-create-element
> 4.1.3-4.1.10. But I don't see a way to enforce that in the type definition.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly or view it on GitHub
> <https://github.com/heycam/webidl/issues/101#issuecomment-201018655>
>


---
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/101#issuecomment-201021827

Received on Thursday, 24 March 2016 21:10:25 UTC