diff options
author | Heather Miller <heather.miller@epfl.ch> | 2012-07-05 16:49:40 +0200 |
---|---|---|
committer | Heather Miller <heather.miller@epfl.ch> | 2012-07-05 16:49:40 +0200 |
commit | d2fd2922e71dddb2c22c1a5b0cf36614cd78e1b4 (patch) | |
tree | cd32e94c9dba1e1990ac8d738a7e2b958e7c0142 /test/files/neg | |
parent | 171a1d8bc859947d80d4728c251abe330dbe9802 (diff) | |
download | scala-d2fd2922e71dddb2c22c1a5b0cf36614cd78e1b4.tar.gz scala-d2fd2922e71dddb2c22c1a5b0cf36614cd78e1b4.tar.bz2 scala-d2fd2922e71dddb2c22c1a5b0cf36614cd78e1b4.zip |
SI-5981, SI-5979, SI-5973 Closed. Maintenance to Try.
Diffstat (limited to 'test/files/neg')
-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; |