blob: 9417cf663e9abeb16ff778add776bc4ec193a409 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import scala.reflect.runtime.universe._
object Test extends App {
class D[T] {
class C[U] {
def foo[V] = macro Impls.foo[List[T], U, V]
foo[Boolean]
}
}
val outer1 = new D[Int]
new outer1.C[String]
}
|