blob: fd4ffd9b1273c61c48de49fcca0ebebbbaa26f03 (
plain) (
tree)
|
|
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)
}
|