summaryrefslogtreecommitdiff
path: root/test/files/run/reify_newimpl_23.check
blob: 33d15190fb46bc5dbe77c671e39e5d26be5fc9e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Type in expressions to have them evaluated.
Type :help for more information.

scala> 

scala> import scala.reflect.mirror._
import scala.reflect.mirror._

scala> def foo[T]{
  val code = reify {
    List[T]()
  }
  println(code.eval)
}
<console>:11: free type: Ident(newTypeName("T")) defined by foo in <console>:10:16
         val code = reify {
                          ^
foo: [T]=> Unit

scala> 

scala>