summaryrefslogtreecommitdiff
path: root/test/files/run/reify_newimpl_26.check
blob: bfbf1d653d7da5015924aa3e62c87cc0331dc15d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 tt = implicitly[TypeTag[List[T]]]
  println(tt)
}
<console>:11: free type: Ident(newTypeName("T")) defined by foo in <console>:10:16
         val tt = implicitly[TypeTag[List[T]]]
                            ^
foo: [T]=> Unit

scala> foo[Int]
ConcreteTypeTag[List[T]]

scala> 

scala>