aboutsummaryrefslogblamecommitdiff
path: root/tests/disabled/macro/run/reify_newimpl_22.check
blob: 952f384a1c67d51f3f72ef206a6884a11b90363b (plain) (tree)
























                                                                                 
Type in expressions to have them evaluated.
Type :help for more information.

scala> import scala.reflect.runtime.universe._
import scala.reflect.runtime.universe._

scala> import scala.tools.reflect.ToolBox
import scala.tools.reflect.ToolBox

scala> import scala.tools.reflect.Eval
import scala.tools.reflect.Eval

scala> {
  val x = 2
  val code = reify {
    x
  }
  println(code.eval)
}
<console>:15: free term: Ident(TermName("x")) defined by res0  in <console>:14:21
                val code = reify {
                                 ^
2

scala> :quit