summaryrefslogblamecommitdiff
path: root/test/files/run/reify_newimpl_23.check
blob: c8ed424c866bc90bff566fa952cc2f14cd9fd04f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13




                                            







                                               






                     
                                                                                   






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

scala> 

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> def foo[T]{
  val code = reify {
    List[T]()
  }
  println(code.eval)
}
<console>:13: free type: Ident(newTypeName("T")) defined by foo in <console>:12:16
         val code = reify {
                          ^
foo: [T]=> Unit

scala> 

scala>