proposal-mixins icon indicating copy to clipboard operation
proposal-mixins copied to clipboard

List of mixins

Open alippai opened this issue 6 years ago • 0 comments

In the readme there is a short section about applying multiple mixins:

Applying multiple mixins in one class declaration will be common, so we could offer special syntax for a list of mixins:

class C extends A with M1, M2, M3 {}

Can I write the example below, so are they treated as expressions?

class C extends A with (1, M1), M2, M3 {}

alippai avatar Sep 24 '18 15:09 alippai