summaryrefslogblamecommitdiff
path: root/test/files/neg/t3774.check
blob: 59c63c4ee8e679fe54e0543e7910e84253859014 (plain) (tree)
1
2
3
4
5
6
7




                                                                                                                                                                                                     
                              
               
t3774.scala:4: 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