1 2 3 4 5 6 7 8 9 10 11 12
class C[T] { def foo = 0 } object Test { implicit def AnyToC[T](a: Any): C[T] = new C[T] // was: "macro not expanded" Macro { "".foo () } }