blob: f884d2c0d0182c9d6e355913e56bf41af62083bc (
plain) (
blame)
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> import scala.reflect.runtime.universe._
import scala.reflect.runtime.universe._
scala> def foo[T: TypeTag] = reify{List[T]()}
foo: [T](implicit evidence$1: reflect.runtime.universe.TypeTag[T])reflect.runtime.universe.Expr[List[T]]
scala> println(foo)
Expr[List[Nothing]](Nil)
scala>
|