fixed expected result

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@3373 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
buraq 2004-07-08 07:16:17 +00:00
parent cfe4ddc3f1
commit 3165f24a6c
1 changed files with 3 additions and 3 deletions

View File

@ -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