Re: [heycam/webidl] Does it make sense for an interface mixin to declare [Default] object toJSON()? (#979)

> Is the use of mixins here in any way significant, or would folding in the mixins result in exactly the same thing?

IMO the intention is that folding them would result in the same thing.

> If two [Default] object toJSON() operations on the same interface isn't valid, so putting it on a mixin would limit and affect the original interface in an unfortunate way. Maybe it should simply not be allowed?

I think in general putting two operations with the same name/argument list in an interface, whether via mixins or not, is disallowed?

-- 
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/979#issuecomment-825806879

Received on Friday, 23 April 2021 17:28:57 UTC