summaryrefslogtreecommitdiff
path: root/test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala')
-rw-r--r--test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala b/test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala
index 82a7b7971d..70ca615e1f 100644
--- a/test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala
+++ b/test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala
@@ -1,9 +1,9 @@
import scala.reflect.runtime.universe._
object Test extends App {
- def fooTypeTag[T: AbsTypeTag] = {
- println(implicitly[AbsTypeTag[T]])
- println(implicitly[AbsTypeTag[List[T]]])
+ def fooTypeTag[T: WeakTypeTag] = {
+ println(implicitly[WeakTypeTag[T]])
+ println(implicitly[WeakTypeTag[List[T]]])
}
fooTypeTag[Int]
} \ No newline at end of file