Scala 3's multiple inheritance is a bit different from Scala 2's. It feels quirky in the context of Scala 2, but the rules are easier to understand. Traits can now take parameters, but you're only allowed to apply them in the extends clause of a class (not another trait).
That's very interesting, and I never saw the relation ro self-types before, but it seems like "parameterless trait inheritance" is very much like a self-type, except that if the trait is parameterless anyway, it's inherited... Thanks for the hint!
-
-
Also not sure why I wasn't following you already!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Actually I am wrong. Something has changed in self types but that is not quite it. I will get back to you on that!

-
I hope the old "lambda-style" syntax goes away eventually, at least.
- Show replies
New conversation -
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.