diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-06 04:45:39 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-06 04:45:39 -0700 |
commit | c39c7276c38f9ef66fd7054609ef33627efe5177 (patch) | |
tree | b76ae78c4dbefe5b144701fb53d9b15b806b5060 /test/files/neg/t5589neg.check | |
parent | 12e1a9a5826e6b76687d65520929f41c9498777b (diff) | |
parent | ab87bbe8a5728d198057824d3a8c32cfbe20978a (diff) | |
download | scala-c39c7276c38f9ef66fd7054609ef33627efe5177.tar.gz scala-c39c7276c38f9ef66fd7054609ef33627efe5177.tar.bz2 scala-c39c7276c38f9ef66fd7054609ef33627efe5177.zip |
Merge pull request #830 from heathermiller/topic/tryeither-fixes
SI-5981, SI-5979, SI-5973, SI-5890 Closed. Maintenance to Try.
Diffstat (limited to 'test/files/neg/t5589neg.check')
-rw-r--r-- | test/files/neg/t5589neg.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t5589neg.check b/test/files/neg/t5589neg.check index b3ff16d7e4..f1dad94df3 100644 --- a/test/files/neg/t5589neg.check +++ b/test/files/neg/t5589neg.check @@ -1,4 +1,4 @@ -t5589neg.scala:2: warning: `withFilter' method does not yet exist on Either.RightProjection[Int,String], using `filter' method instead +t5589neg.scala:2: warning: `withFilter' method does not yet exist on scala.util.Either.RightProjection[Int,String], using `filter' method instead def f5(x: Either[Int, String]) = for ((y1, y2: String) <- x.right) yield ((y1, y2)) ^ t5589neg.scala:2: error: constructor cannot be instantiated to expected type; @@ -6,7 +6,7 @@ t5589neg.scala:2: error: constructor cannot be instantiated to expected type; required: String def f5(x: Either[Int, String]) = for ((y1, y2: String) <- x.right) yield ((y1, y2)) ^ -t5589neg.scala:3: warning: `withFilter' method does not yet exist on Either.RightProjection[Int,String], using `filter' method instead +t5589neg.scala:3: warning: `withFilter' method does not yet exist on scala.util.Either.RightProjection[Int,String], using `filter' method instead def f6(x: Either[Int, String]) = for ((y1, y2: Any) <- x.right) yield ((y1, y2)) ^ t5589neg.scala:3: error: constructor cannot be instantiated to expected type; |