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

domenic commented on this pull request.



> @@ -10361,19 +10363,12 @@ is the [=interface=]:
         [=overload resolution algorithm=].
     1.  Let |R| be the result of performing the actions listed in the description of
         |constructor| with |values| as the argument values.
+    1.  Assert: |R| is an object that implements |I|.

Good point, yeah. Instead maybe let's add "Rethrow any exceptions." to the previous step.

-- 
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 Thursday, 27 October 2016 14:46:39 UTC