blob: 99c8d4c413a1a42ae0923db2493cca4b02c2b083 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import scala.reflect.runtime.universe._
import scala.reflect.runtime.currentMirror
import scala.tools.reflect.ToolBox
object Test extends App {
val tb = currentMirror.mkToolBox()
tb.compile(q"true > true")
tb.typecheck(q"true > true")
}
|