blob: 6566c4086b55a2abf02b33297eb5a87c9b23eb98 (
plain) (
tree)
|
|
trait A { val x: Int; println("A") }
trait B extends { override val x = 1 } with A { println("B") }
trait C extends { override val x = 2 } with A
object Test extends B with C with App {
println(x)
}
|