summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authorburaq <buraq@epfl.ch>2004-07-08 07:16:17 +0000
committerburaq <buraq@epfl.ch>2004-07-08 07:16:17 +0000
commit82fac1f8d80eb7c3453638a469b255aacfcb7530 (patch)
tree184cc18b2108565f10f8ae235e3da56c3fdd03d6 /test/files/neg
parent87ba0c3692e6182a6f0c91ff479ef09c4c28d57b (diff)
downloadscala-82fac1f8d80eb7c3453638a469b255aacfcb7530.tar.gz
scala-82fac1f8d80eb7c3453638a469b255aacfcb7530.tar.bz2
scala-82fac1f8d80eb7c3453638a469b255aacfcb7530.zip
fixed expected result
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/bugs.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/bugs.check b/test/files/neg/bugs.check
index d597a199f5..39b4efa27b 100644
--- a/test/files/neg/bugs.check
+++ b/test/files/neg/bugs.check
@@ -1,6 +1,6 @@
-bugs.scala:11: overlapping overloaded alternatives; the two following alternatives of method p have the same erasure: ((Tuple2[Boolean,Boolean]) => Boolean)int
- alternative 1: def p((scala.Tuple2[scala.Boolean,scala.Boolean]) => scala.Boolean): scala.Int(1)
- alternative 2: def p((scala.List[scala.Any]) => scala.Boolean): scala.Int(2)
+bugs.scala:11: Double declaration:
+method p: ((scala.Tuple2[scala.Boolean,scala.Boolean]) => scala.Boolean)scala.Int(1) and
+method p: ((scala.List[scala.Any]) => scala.Boolean)scala.Int(2) have same types after erasure
def p(f:List[Any] => Boolean) = 2;
^
one error found