blob: 809a286c0ee5021616d711721b4806c16583116e (
plain) (
tree)
|
|
import scala.language.existentials
class Bar[T]
class Test {
def method = {
object Foo {
implicit def x: Bar[Foo.type] = new Bar[Foo.type]
}
type T = Foo.type
{
object Foo
implicitly[Bar[T]]
}
}
}
|