aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/t6329_repl.check
blob: ebb1aace7c65149acfc167da942662617e6c73be (plain) (tree)


































                                                                                                     
Type in expressions to have them evaluated.
Type :help for more information.

scala> import scala.reflect.classTag
import scala.reflect.classTag

scala> classManifest[scala.List[_]]
warning: there was one deprecation warning; re-run with -deprecation for details
res0: scala.reflect.ClassTag[List[_]] = scala.collection.immutable.List[<?>]

scala> classTag[scala.List[_]]
res1: scala.reflect.ClassTag[List[_]] = scala.collection.immutable.List

scala> classManifest[scala.collection.immutable.List[_]]
warning: there was one deprecation warning; re-run with -deprecation for details
res2: scala.reflect.ClassTag[List[_]] = scala.collection.immutable.List[<?>]

scala> classTag[scala.collection.immutable.List[_]]
res3: scala.reflect.ClassTag[List[_]] = scala.collection.immutable.List

scala> classManifest[Predef.Set[_]]
warning: there was one deprecation warning; re-run with -deprecation for details
res4: scala.reflect.ClassTag[scala.collection.immutable.Set[_]] = scala.collection.immutable.Set[<?>]

scala> classTag[Predef.Set[_]]
res5: scala.reflect.ClassTag[scala.collection.immutable.Set[_]] = scala.collection.immutable.Set

scala> classManifest[scala.collection.immutable.Set[_]]
warning: there was one deprecation warning; re-run with -deprecation for details
res6: scala.reflect.ClassTag[scala.collection.immutable.Set[_]] = scala.collection.immutable.Set[<?>]

scala> classTag[scala.collection.immutable.Set[_]]
res7: scala.reflect.ClassTag[scala.collection.immutable.Set[_]] = scala.collection.immutable.Set

scala> :quit