summaryrefslogtreecommitdiff
path: root/test/files/run/t8104
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2014-02-14 11:06:01 -0800
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-02-14 11:06:32 -0800
commit5984461227c70dd48d9c87c6e5afe0cf8c58f8f1 (patch)
tree8af869c3c32a5b563c85d41539954986c63c5a1d /test/files/run/t8104
parent33fc68171105bb8d884219381c220076c5651316 (diff)
downloadscala-5984461227c70dd48d9c87c6e5afe0cf8c58f8f1.tar.gz
scala-5984461227c70dd48d9c87c6e5afe0cf8c58f8f1.tar.bz2
scala-5984461227c70dd48d9c87c6e5afe0cf8c58f8f1.zip
SI-8177 tidy up in type reification
Diffstat (limited to 'test/files/run/t8104')
-rw-r--r--test/files/run/t8104/Test_2.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/run/t8104/Test_2.scala b/test/files/run/t8104/Test_2.scala
index 630176f175..55c080a563 100644
--- a/test/files/run/t8104/Test_2.scala
+++ b/test/files/run/t8104/Test_2.scala
@@ -9,7 +9,10 @@ object Test extends App {
case class C(x: Int, y: Int)
import scala.reflect.runtime.universe._
- def reprify[T, Repr](x: T)(implicit generic: Generic.Aux[T, Repr], tag: TypeTag[Repr]) = println(tag)
+ def reprify[T, Repr](x: T)(implicit generic: Generic.Aux[T, Repr], tag: WeakTypeTag[Repr]) = {
+ println(tag)
+ println(tag.tpe.typeSymbol.typeSignature)
+ }
reprify(C(40, 2))
implicitly[Generic.Aux[C, (Int, Int)]]