blob: 36ab61e077b6e20531d779a3cf1d5d909f2cb057 (
plain) (
tree)
|
|
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval
object Test extends App {
reify {
class C
val product = List(new C, new C).length * List[C](new C, new C).length
println(product)
}.eval
}
|