diff options
-rw-r--r-- | test/files/neg/bug3774.check | 7 | ||||
-rw-r--r-- | test/files/neg/bug3774.scala | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/test/files/neg/bug3774.check b/test/files/neg/bug3774.check deleted file mode 100644 index f969218770..0000000000 --- a/test/files/neg/bug3774.check +++ /dev/null @@ -1,7 +0,0 @@ -bug3774.scala:2: error: overloaded method value ++ with alternatives: - [B1 >: List[Int]](xs: scala.collection.TraversableOnce[((Int, Int), B1)])scala.collection.immutable.Map[(Int, Int),B1] <and> - [B >: ((Int, Int), List[Int]),That](that: scala.collection.TraversableOnce[B])(implicit bf: scala.collection.generic.CanBuildFrom[scala.collection.immutable.Map[(Int, Int),List[Int]],B,That])That - cannot be applied to (scala.collection.immutable.IndexedSeq[((Int, Int), scala.collection.immutable.Range.Inclusive)]) - Map[(Int,Int),List[Int]]() ++ (for(x <- 0 to 1 ; y <- 0 to 1) yield {(x,y)-> (0 to 1)}) - ^ -one error found diff --git a/test/files/neg/bug3774.scala b/test/files/neg/bug3774.scala deleted file mode 100644 index 2fb9bf5d39..0000000000 --- a/test/files/neg/bug3774.scala +++ /dev/null @@ -1,3 +0,0 @@ -object Hang { - Map[(Int,Int),List[Int]]() ++ (for(x <- 0 to 1 ; y <- 0 to 1) yield {(x,y)-> (0 to 1)}) -}
\ No newline at end of file |