1 2 3 4 5 6 7 8 9 10 11 12
package test trait A trait B class BImpl extends B { this: A => } object Test2 extends App { val b = new BImpl }