Re: [heycam/webidl] Designing mixins (#363)

Thinking out loud, here, but what if instead of adding mixing we modified partial interfaces so they could do:

```webidl
partial interface Foo, Bar, Baz { };
```

to mean roughly the same as:

```webidl
mixin M { };
Foo includes M;
Bar includes M;
Baz includes M;
```

We'd lose the indirection provided by the ability to add members to the mixin itself, but would that really be an issue?

Either way, it seems that what we want is something conceptually close to partial interfaces. 



-- 
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/363#issuecomment-326726351

Received on Saturday, 2 September 2017 06:43:18 UTC