blob: f41baca05e1e1ac12dd4966cc56384dc44262428 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{currentMirror => cm}
class C
class D { self: C => }
object Test extends App {
val d = cm.staticClass("D")
println(d.selfType)
d.typeSignature
println(d.selfType)
}
|