Why do I get the error below? How to workaround it?
I assumed that since A and B compile to (interface,class) pairs, it\'s a matter of choosing the right static meth
This works for me in 2.8 and 2.11, and would allow you to be non-intrusive in traits A or B:
trait A { def hi = println("A") }
trait B { def hi = println("B") }
class C extends A with B {
override def hi = super[B].hi
def howdy = super[A].hi // if you still want A#hi available
}
object App extends Application {
(new C).hi // prints "B"
}