From 5acac4d806eb45afdf1e7716c727a97130b69651 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Thu, 7 Jun 2012 22:05:34 +0200 Subject: TypeTag => AbsTypeTag, ConcreteTypeTag => TypeTag This protects everyone from the confusion caused by stuff like this: https://issues.scala-lang.org/browse/SI-5884 --- .../files/neg/macro-reify-typetag-hktypeparams-notags/Test.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/files/neg/macro-reify-typetag-hktypeparams-notags/Test.scala (limited to 'test/files/neg/macro-reify-typetag-hktypeparams-notags') diff --git a/test/files/neg/macro-reify-typetag-hktypeparams-notags/Test.scala b/test/files/neg/macro-reify-typetag-hktypeparams-notags/Test.scala new file mode 100644 index 0000000000..c7b1cedcd2 --- /dev/null +++ b/test/files/neg/macro-reify-typetag-hktypeparams-notags/Test.scala @@ -0,0 +1,9 @@ +import scala.reflect.runtime.universe._ + +object Test extends App { + def fooNoTypeTagHK[C[_], T] = { + println(implicitly[TypeTag[C[T]]]) + println(implicitly[TypeTag[List[C[T]]]]) + } + fooNoTypeTagHK[List, Int] +} \ No newline at end of file -- cgit v1.2.3