diff options
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 = ??? |