blob: 4fa0c8cb33b05722cec1fe6d8bec5ed8e3d42e57 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
class D[T] {
class C[U] {
def foo[V] = macro Impls.foo[T, U, V]
}
}
object Test extends App {
val outer1 = new D[Int]
val outer2 = new outer1.C[String]
outer2.foo[Boolean]
}
|