diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-04-13 20:15:10 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-04-14 11:50:49 +0200 |
commit | 4804efef205adbe359dd353d51ab16e1e0337dc5 (patch) | |
tree | a4c1cc4de24ea43ef7d1d9f43ecdfc639138db5d /test/files/neg/t5589neg.check | |
parent | 391f92f4005700799ac2e775980f5c5a77fea203 (diff) | |
download | scala-4804efef205adbe359dd353d51ab16e1e0337dc5.tar.gz scala-4804efef205adbe359dd353d51ab16e1e0337dc5.tar.bz2 scala-4804efef205adbe359dd353d51ab16e1e0337dc5.zip |
virtpatmat on by default; chicken out: -Xoldpatmat
some tests (unreachability, exhaustivity, @switch annotation checking) are still run under -Xoldpatmat,
but that will change before we go into RC mode (then the test/ partest of this commit will be reverted)
removed irrelevant dependency on patmat
Diffstat (limited to 'test/files/neg/t5589neg.check')
-rw-r--r-- | test/files/neg/t5589neg.check | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/t5589neg.check b/test/files/neg/t5589neg.check index b3ff16d7e4..fb6858a397 100644 --- a/test/files/neg/t5589neg.check +++ b/test/files/neg/t5589neg.check @@ -22,6 +22,9 @@ t5589neg.scala:4: error: constructor cannot be instantiated to expected type; t5589neg.scala:4: error: not found: value y2 def f7(x: Either[Int, (String, Int)]) = for (y1 @ Tuple1(y2) <- x.right) yield ((y1, y2)) ^ +t5589neg.scala:4: error: Could not typecheck extractor call: case class Tuple1 with arguments List((y2 @ _)) + def f7(x: Either[Int, (String, Int)]) = for (y1 @ Tuple1(y2) <- x.right) yield ((y1, y2)) + ^ t5589neg.scala:5: error: constructor cannot be instantiated to expected type; found : (T1, T2, T3) required: (String, Int) @@ -34,4 +37,4 @@ t5589neg.scala:5: error: not found: value y2 def f8(x: Either[Int, (String, Int)]) = for ((y1, y2, y3) <- x.right) yield ((y1, y2)) ^ two warnings found -7 errors found +8 errors found |