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

scala> def foo[T]{
  import scala.reflect.runtime.universe._
  val tt = implicitly[WeakTypeTag[List[T]]]
  println(tt)
}
<console>:12: free type: Ident(TypeName("T")) defined by foo in <console>:10:16
         val tt = implicitly[WeakTypeTag[List[T]]]
                            ^
foo: [T]=> Unit

scala> foo[Int]
WeakTypeTag[scala.List[T]]

scala> :quit