diff options
-rw-r--r-- | test/files/neg/bugs.check | 6 |
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 |