// // Traits work through Linearization // // this version DOES NOT work, // try to load and see why ... // class Top { //def m = List("M") } trait T1 extends Top { def m = "T1" } trait T2 extends Top { def m = "T2" } class B extends T2 with T1 class B1 extends T1 with T2 class B2 extends Top with T1 with T2 class B3 extends Top with T2 with T1