blob: 27cc0568e5cf4037c6fb66e20d7592e5b4dd37d4 (
plain) (
tree)
|
|
class B {
class X
}
class A extends B
object Test {
def test1(): Unit = {
implicitly[B#X <:< A#X] // error: no implicit argument
}
def test2(): Unit = {
val a : { type T; type U } = ??? // error // error
implicitly[a.T <:< a.U] // error: no implicit argument
}
}
|