diff options
author | Paul Phillips <paulp@improving.org> | 2011-10-28 02:43:59 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-10-28 02:43:59 +0000 |
commit | 4505c2b05c622e5438dddb9a3a9b3296819baaa0 (patch) | |
tree | d6b751af547228aa353919f27ec7f35f17a46a84 /test/files/neg/abstract-report2.check | |
parent | 09188cd820c29894d046dbd5497afc68932e60f8 (diff) | |
download | scala-4505c2b05c622e5438dddb9a3a9b3296819baaa0.tar.gz scala-4505c2b05c622e5438dddb9a3a9b3296819baaa0.tar.bz2 scala-4505c2b05c622e5438dddb9a3a9b3296819baaa0.zip |
Better report on missing methods.
Discovered an overloaded method with multiple unimplemented variants
only had one listed. Fixed, no review.
Diffstat (limited to 'test/files/neg/abstract-report2.check')
-rw-r--r-- | test/files/neg/abstract-report2.check | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/files/neg/abstract-report2.check b/test/files/neg/abstract-report2.check index 32d52e00f2..35a99bdd25 100644 --- a/test/files/neg/abstract-report2.check +++ b/test/files/neg/abstract-report2.check @@ -1,5 +1,5 @@ abstract-report2.scala:3: error: class Foo needs to be abstract, since: -it has 12 unimplemented members. +it has 13 unimplemented members. /** As seen from class Foo, the missing signatures are as follows. * For convenience, these are usable as stub implementations. */ @@ -15,11 +15,12 @@ it has 12 unimplemented members. def retainAll(x$1: java.util.Collection[_]): Boolean = ??? def size(): Int = ??? def toArray[T](x$1: Array[T with Object]): Array[T with Object] = ??? + def toArray(): Array[Object] = ??? class Foo extends Collection[Int] ^ abstract-report2.scala:5: error: class Bar needs to be abstract, since: -it has 12 unimplemented members. +it has 13 unimplemented members. /** As seen from class Bar, the missing signatures are as follows. * For convenience, these are usable as stub implementations. */ @@ -35,11 +36,12 @@ it has 12 unimplemented members. def retainAll(x$1: java.util.Collection[_]): Boolean = ??? def size(): Int = ??? def toArray[T](x$1: Array[T with Object]): Array[T with Object] = ??? + def toArray(): Array[Object] = ??? class Bar extends Collection[List[_ <: String]] ^ abstract-report2.scala:7: error: class Baz needs to be abstract, since: -it has 12 unimplemented members. +it has 13 unimplemented members. /** As seen from class Baz, the missing signatures are as follows. * For convenience, these are usable as stub implementations. */ @@ -55,11 +57,12 @@ it has 12 unimplemented members. def retainAll(x$1: java.util.Collection[_]): Boolean = ??? def size(): Int = ??? def toArray[T](x$1: Array[T with Object]): Array[T with Object] = ??? + def toArray(): Array[Object] = ??? class Baz[T] extends Collection[T] ^ abstract-report2.scala:11: error: class Dingus needs to be abstract, since: -it has 23 unimplemented members. +it has 24 unimplemented members. /** As seen from class Dingus, the missing signatures are as follows. * For convenience, these are usable as stub implementations. */ @@ -74,6 +77,7 @@ it has 23 unimplemented members. def removeAll(x$1: java.util.Collection[_]): Boolean = ??? def retainAll(x$1: java.util.Collection[_]): Boolean = ??? def toArray[T](x$1: Array[T with Object]): Array[T with Object] = ??? + def toArray(): Array[Object] = ??? // Members declared in scala.collection.GenTraversableOnce def isTraversableAgain: Boolean = ??? |