From d852612c3537f2e4506dd838c719d44a3031679d Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 2 Mar 2012 20:07:25 -0800 Subject: Fix for corner case in type printing. Closes SI-5537. --- test/files/run/t5537.check | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/files/run/t5537.check (limited to 'test/files/run/t5537.check') 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> -- cgit v1.2.3