From 2a6a1f370fa84aa2fbc9ad861dd2287622dfd653 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 31 Aug 2010 15:37:55 +0000 Subject: Partial fix for #3774. --- test/files/neg/t3774.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/neg/t3774.scala (limited to 'test/files/neg/t3774.scala') diff --git a/test/files/neg/t3774.scala b/test/files/neg/t3774.scala new file mode 100644 index 0000000000..2869925b01 --- /dev/null +++ b/test/files/neg/t3774.scala @@ -0,0 +1,5 @@ +// This used to hang the lub process. Now it rejects the file. This is still not correct, +// but we can solve this only after a redesign of lub a la dot. +object Hang { + Map[(Int,Int),List[Int]]() ++ (for(x <- 0 to 1 ; y <- 0 to 1) yield {(x,y)-> (0 to 1)}) +} -- cgit v1.2.3