blob: fd4ffd9b1273c61c48de49fcca0ebebbbaa26f03 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{currentMirror => cm}
object Test extends App {
val mutant = new { val x = 2 }
val c = cm.classSymbol(mutant.getClass)
println(c)
println(c.fullName)
println(c.typeSignature)
}
|