diff options
Diffstat (limited to 'test/files/neg/t3774.scala')
-rw-r--r-- | test/files/neg/t3774.scala | 5 |
1 files changed, 5 insertions, 0 deletions
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)}) +} |