- From: Tobie Langel <notifications@github.com>
- Date: Thu, 02 Feb 2017 01:53:36 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 February 2017 09:54:19 UTC
I think that's implicit in the abstract operations defined for both named and regular constructors.
Which makes the following lines completely redundant:
```
If the [=interface=] is declared with a [{{Constructor}}] [=extended attribute=],
then the [=interface object=] can be called as a constructor
to create an object that implements that interface.
Calling that interface as a function will throw an exception.
[=Interface objects=] whose [=interfaces=] are not declared
with a [{{Constructor}}] [=extended attribute=] will throw when called,
both as a function and as a constructor.
```
Maybe we should turn these into notes and let the algorithm speak for itself?
--
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/278#issuecomment-276913394
Received on Thursday, 2 February 2017 09:54:19 UTC