blob: 83ad1357ae8623d69a4a260043344d2a1fbb6c30 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
object This extends App {
trait A {
def foo(): Unit
}
abstract class C { self: A =>
def bar() = this.foo()
}
class D extends C with A {
def foo() = ()
}
val c: C = new D
}
|