I noted some open issues on "Classes with Trait Composition"

Gavin Barraclough barraclough at apple.com
Tue Jun 7 13:19:26 PDT 2011

On Jun 7, 2011, at 12:57 PM, Bob Nystrom wrote:

> The main problem that comes to mind is that it doesn't work with anonymous classes.

Ah, good point, I hadn't considered anonymous classes.  Clearly we could solve this with a solution specific to these cases (say, "class(){ /*...*/ }" for anonymous class constructors?), but having mismatching syntax in these cases would be a little unfortunate.


More information about the es-discuss mailing list