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

scala> {
  import scala.reflect.runtime.universe._
  val x = "2"
  val tt = implicitly[TypeTag[x.type]]
  println(tt)
}
<console>:11: free term: Ident(TermName("x")) defined by res0  in <console>:10:21
                val tt = implicitly[TypeTag[x.type]]
                                   ^
TypeTag[x.type]

scala> :quit