summaryrefslogtreecommitdiff
path: root/test/pending/reify_typeof.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2014-02-17 23:18:50 +0100
committerEugene Burmako <xeno.by@gmail.com>2014-02-18 09:23:38 +0100
commitafecfe90cd98a657ce83f3e833c940518563064e (patch)
tree23f0dd8d4a1a9aebf47f098c65c83746da4f0efc /test/pending/reify_typeof.check
parent34532d7e92b8ed2a9411260007fcfcc00f377ccc (diff)
downloadscala-afecfe90cd98a657ce83f3e833c940518563064e.tar.gz
scala-afecfe90cd98a657ce83f3e833c940518563064e.tar.bz2
scala-afecfe90cd98a657ce83f3e833c940518563064e.zip
reverses SI-6484
Unfortunately I have to revert b017629 because of SI-8303. There are projects (e.g. slick) that use typeOf in annotations, which effectively means bye-bye.
Diffstat (limited to 'test/pending/reify_typeof.check')
-rw-r--r--test/pending/reify_typeof.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/pending/reify_typeof.check b/test/pending/reify_typeof.check
new file mode 100644
index 0000000000..670f76faa4
--- /dev/null
+++ b/test/pending/reify_typeof.check
@@ -0,0 +1,10 @@
+Expr[Unit]({
+ val ru = `package`.universe;
+ val tpe1: ru.Type = ru.typeOf[`package`.List[Int]];
+ Predef.println(tpe1);
+ val tpe2: ru.Type = ru.typeOf(List.apply(1, 2, 3));
+ Predef.println(tpe2)
+})
+scala.List[Int]
+List[Int]
+()