blob: e8bb01324857fbeb6e8669ac28cdee7cbaf8b36b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval
object Test extends App {
reify {
2 match {
case 2 => println("okay")
case _ => println("not okay")
}
}.eval
}
|