An inheritance hierarchy between traits will be "parameterless" inheritance, so the linearization order is not so significant, and the type system now provides a sound way to combine multiple transitive inheritances of the same trait (which may have different type parameters).
Having said that, I'm not sure this is the only case where `with` is necessary, but I can't remember where else I had to use it...
-
-
Well another use for commas is parameter lists, so function application is also ambiguous - `f(new X, X)`. Obviously any such issues can be worked around e.g. `f({ new X, X })` but I don't really see any upsides to this syntax tbh and numerous downsides...
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.