From 8cc51cc0dce7d86a4137eb636c4e3bed1b90cf13 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 1 May 2009 17:11:56 +0000 Subject: Fix and test case for #1773. --- test/files/run/t1773.scala | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/files/run/t1773.scala (limited to 'test/files/run') diff --git a/test/files/run/t1773.scala b/test/files/run/t1773.scala new file mode 100644 index 0000000000..fc24f58b61 --- /dev/null +++ b/test/files/run/t1773.scala @@ -0,0 +1,12 @@ +object Test extends Application +{ + val xs = List( + , + , + { xml.NodeSeq.Empty }, + {""}, + { if (true) "" else "I like turtles" } + ) + + for (x1 <- xs; x2 <- xs) assert (x1 == x2) +} \ No newline at end of file -- cgit v1.2.3