blob: fd150a150a6c1004d6995b06df454bbdc7088e3a (
plain) (
tree)
|
|
object Test {
class SA[@specialized(Int) A] {
def o[U](f: ((Int, A) => Any)): Unit = {}
def o[U](f: A => Any): Unit = {}
}
class X[@specialized(Int) B] {
def x(b: B) = {
new SA[B]().o((x: Any) => x)
}
}
}
|