summaryrefslogtreecommitdiff
path: root/test/files/run/t5537.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-03-02 20:07:25 -0800
committerPaul Phillips <paulp@improving.org>2012-03-02 20:13:23 -0800
commitd852612c3537f2e4506dd838c719d44a3031679d (patch)
treea56afe52a9a86f50e6fe0f83d225364997527f87 /test/files/run/t5537.check
parent43532f1192f1cf71989f7e78b7ee277b03806643 (diff)
downloadscala-d852612c3537f2e4506dd838c719d44a3031679d.tar.gz
scala-d852612c3537f2e4506dd838c719d44a3031679d.tar.bz2
scala-d852612c3537f2e4506dd838c719d44a3031679d.zip
Fix for corner case in type printing.
Closes SI-5537.
Diffstat (limited to 'test/files/run/t5537.check')
-rw-r--r--test/files/run/t5537.check20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/files/run/t5537.check b/test/files/run/t5537.check
new file mode 100644
index 0000000000..68c3ebf2e2
--- /dev/null
+++ b/test/files/run/t5537.check
@@ -0,0 +1,20 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala>
+
+scala> List[Predef.type]()
+res0: List[scala.Predef.type] = List()
+
+scala> List[scala.`package`.type]()
+res1: List[scala.type] = List()
+
+scala> List[List.type]()
+res2: List[scala.collection.immutable.List.type] = List()
+
+scala> List[Set.type]()
+res3: List[Set.type] = List()
+
+scala>
+
+scala>