aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t3774.scala
blob: 2869925b01ff3423033c14d08aa29337772589c9 (plain) (blame)
1
2
3
4
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)})
}