blob: 5545e6e005ea7fe41a8b3b0694bbc90b1eae0068 (
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>
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]](immutable.this.Nil)
scala>
scala>
|