blob: b1f712804eabd8a2d68746c162fd8760e8d26941 (
plain) (
tree)
|
|
trait J {
def foo(): Unit;
}
trait I with J {
override def foo(): Unit = ();
}
class D extends J with I {
abstract override def foo(): Unit = super.foo();
}
object Test with Executable {
(new D).foo();
}
|