Re: [heycam/webidl] Throw when not calling interfaces as constructors (#205)

tobie commented on this pull request.



> @@ -10366,13 +10368,11 @@ is the [=interface=]:
         |I|.
 </ol>
 
-If the internal \[[Call]] method
-of the [=interface object=]
-returns normally, then it must
-return an object that implements interface |I|.
+If evaluating the [=function object=] |F| returns normally,
+then it must return an object that implements interface |I|.

Oh! Are you saying the before-last step of the above algorithm should be something like this:

```
1. Assert |R| is an object that implements |I|

-- 
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/pull/205

Received on Tuesday, 25 October 2016 23:08:38 UTC