blob: 4f9b8faf7131e60b2479c7f7a33112af0d9696e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import scala.reflect.mirror._
object Test extends App {
val mutant = new { val x = 2 }
val c = classToType(mutant.getClass)
println(c)
println(c.typeSymbol == classToSymbol(mutant.getClass))
}
|