summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authorAntonio Cunei <antonio.cunei@epfl.ch>2011-04-20 12:16:52 +0000
committerAntonio Cunei <antonio.cunei@epfl.ch>2011-04-20 12:16:52 +0000
commite5ad9c55f8a7a97aa7c36a057078db2031f468e8 (patch)
tree85ec520f743d57148ca2bd9b5c777832e4281e1e /test/files/neg
parent7c3ec209bc28f83f008bad4d126293bcbb867113 (diff)
downloadscala-e5ad9c55f8a7a97aa7c36a057078db2031f468e8.tar.gz
scala-e5ad9c55f8a7a97aa7c36a057078db2031f468e8.tar.bz2
scala-e5ad9c55f8a7a97aa7c36a057078db2031f468e8.zip
Fixing an incomplete svnmerge; first, revert to...
Fixing an incomplete svnmerge; first, revert to r24726.
Diffstat (limited to 'test/files/neg')
-rwxr-xr-xtest/files/neg/t3115.scala2
-rw-r--r--test/files/neg/t3774.check4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/t3115.scala b/test/files/neg/t3115.scala
index 3888085593..4aeeb4063e 100755
--- a/test/files/neg/t3115.scala
+++ b/test/files/neg/t3115.scala
@@ -1,5 +1,5 @@
object sc {
- @deprecated("", "2.8.0") object Math
+ @deprecated("") object Math
}
object Test {
diff --git a/test/files/neg/t3774.check b/test/files/neg/t3774.check
index ea35c50541..59c63c4ee8 100644
--- a/test/files/neg/t3774.check
+++ b/test/files/neg/t3774.check
@@ -1,6 +1,6 @@
t3774.scala:4: error: overloaded method value ++ with alternatives:
- [B1 >: List[Int]](xs: scala.collection.GenTraversableOnce[((Int, Int), B1)])scala.collection.immutable.Map[(Int, Int),B1] <and>
- [B >: ((Int, Int), List[Int]),That](that: scala.collection.GenTraversableOnce[B])(implicit bf: scala.collection.generic.CanBuildFrom[scala.collection.immutable.Map[(Int, Int),List[Int]],B,That])That
+ [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)})
^