diff options
author | Paul Phillips <paulp@improving.org> | 2012-03-20 13:05:17 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-03-20 13:55:15 -0700 |
commit | d8ba5d091e5641553b438ef9930a6023a2709dcd (patch) | |
tree | 6d1f0dce613bea08926005b0232033c774a68970 /test/files/neg/t5589neg.scala | |
parent | 743d954abfae4ae8a2e2886dc527df6a33a669c1 (diff) | |
download | scala-d8ba5d091e5641553b438ef9930a6023a2709dcd.tar.gz scala-d8ba5d091e5641553b438ef9930a6023a2709dcd.tar.bz2 scala-d8ba5d091e5641553b438ef9930a6023a2709dcd.zip |
Revert irrefutability commits.
Temporary reversion of irrefutability commits in interests
of stable milestone. Expect to restore shortly.
Diffstat (limited to 'test/files/neg/t5589neg.scala')
-rw-r--r-- | test/files/neg/t5589neg.scala | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/files/neg/t5589neg.scala b/test/files/neg/t5589neg.scala deleted file mode 100644 index 31ff2c3693..0000000000 --- a/test/files/neg/t5589neg.scala +++ /dev/null @@ -1,6 +0,0 @@ -class A { - def f5(x: Either[Int, String]) = for ((y1, y2: String) <- x.right) yield ((y1, y2)) - def f6(x: Either[Int, String]) = for ((y1, y2: Any) <- x.right) yield ((y1, y2)) - def f7(x: Either[Int, (String, Int)]) = for (y1 @ Tuple1(y2) <- x.right) yield ((y1, y2)) - def f8(x: Either[Int, (String, Int)]) = for ((y1, y2, y3) <- x.right) yield ((y1, y2)) -} |