1 2 3 4 5 6 7 8 9 10
class Foo object Test { def foo[T](x: T)(implicit ev: T): T = ??? def test: Unit = { implicit val evidence: Foo = new Foo foo(new Foo) } }