summaryrefslogblamecommitdiff
path: root/test/files/run/reify_newimpl_22.check
blob: 1432d10127d1ba7c6228d2151b43f7c7b81b5019 (plain) (tree)
1
2
3


                                           















                                              
                                                                                 




                                  
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>