|
| 1 | +abstract-report2.scala:3: error: class Foo needs to be abstract, since: |
| 2 | +it has 13 unimplemented members. |
| 3 | +/** As seen from class Foo, the missing signatures are as follows. |
| 4 | + * For convenience, these are usable as stub implementations. |
| 5 | + */ |
| 6 | + def add(x$1: Int): Boolean = ??? |
| 7 | + def addAll(x$1: java.util.Collection[_ <: Int]): Boolean = ??? |
| 8 | + def clear(): Unit = ??? |
| 9 | + def contains(x$1: Any): Boolean = ??? |
| 10 | + def containsAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 11 | + def isEmpty(): Boolean = ??? |
| 12 | + def iterator(): java.util.Iterator[Int] = ??? |
| 13 | + def remove(x$1: Any): Boolean = ??? |
| 14 | + def removeAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 15 | + def retainAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 16 | + def size(): Int = ??? |
| 17 | + def toArray[T](x$1: Array[T with Object]): Array[T with Object] = ??? |
| 18 | + def toArray(): Array[Object] = ??? |
| 19 | + |
| 20 | +class Foo extends Collection[Int] |
| 21 | + ^ |
| 22 | +abstract-report2.scala:5: error: class Bar needs to be abstract, since: |
| 23 | +it has 13 unimplemented members. |
| 24 | +/** As seen from class Bar, the missing signatures are as follows. |
| 25 | + * For convenience, these are usable as stub implementations. |
| 26 | + */ |
| 27 | + def add(x$1: List[_ <: String]): Boolean = ??? |
| 28 | + def addAll(x$1: java.util.Collection[_ <: List[_ <: String]]): Boolean = ??? |
| 29 | + def clear(): Unit = ??? |
| 30 | + def contains(x$1: Any): Boolean = ??? |
| 31 | + def containsAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 32 | + def isEmpty(): Boolean = ??? |
| 33 | + def iterator(): java.util.Iterator[List[_ <: String]] = ??? |
| 34 | + def remove(x$1: Any): Boolean = ??? |
| 35 | + def removeAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 36 | + def retainAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 37 | + def size(): Int = ??? |
| 38 | + def toArray[T](x$1: Array[T with Object]): Array[T with Object] = ??? |
| 39 | + def toArray(): Array[Object] = ??? |
| 40 | + |
| 41 | +class Bar extends Collection[List[_ <: String]] |
| 42 | + ^ |
| 43 | +abstract-report2.scala:7: error: class Baz needs to be abstract, since: |
| 44 | +it has 13 unimplemented members. |
| 45 | +/** As seen from class Baz, the missing signatures are as follows. |
| 46 | + * For convenience, these are usable as stub implementations. |
| 47 | + */ |
| 48 | + def add(x$1: T): Boolean = ??? |
| 49 | + def addAll(x$1: java.util.Collection[_ <: T]): Boolean = ??? |
| 50 | + def clear(): Unit = ??? |
| 51 | + def contains(x$1: Any): Boolean = ??? |
| 52 | + def containsAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 53 | + def isEmpty(): Boolean = ??? |
| 54 | + def iterator(): java.util.Iterator[T] = ??? |
| 55 | + def remove(x$1: Any): Boolean = ??? |
| 56 | + def removeAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 57 | + def retainAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 58 | + def size(): Int = ??? |
| 59 | + def toArray[T](x$1: Array[T with Object]): Array[T with Object] = ??? |
| 60 | + def toArray(): Array[Object] = ??? |
| 61 | + |
| 62 | +class Baz[T] extends Collection[T] |
| 63 | + ^ |
| 64 | +abstract-report2.scala:15: error: class Dingus needs to be abstract, since: |
| 65 | +it has 24 unimplemented members. |
| 66 | +/** As seen from class Dingus, the missing signatures are as follows. |
| 67 | + * For convenience, these are usable as stub implementations. |
| 68 | + */ |
| 69 | + // Members declared in java.util.Collection |
| 70 | + def add(x$1: String): Boolean = ??? |
| 71 | + def addAll(x$1: java.util.Collection[_ <: String]): Boolean = ??? |
| 72 | + def clear(): Unit = ??? |
| 73 | + def contains(x$1: Any): Boolean = ??? |
| 74 | + def containsAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 75 | + def iterator(): java.util.Iterator[String] = ??? |
| 76 | + def remove(x$1: Any): Boolean = ??? |
| 77 | + def removeAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 78 | + def retainAll(x$1: java.util.Collection[_]): Boolean = ??? |
| 79 | + def toArray[T](x$1: Array[T with Object]): Array[T with Object] = ??? |
| 80 | + def toArray(): Array[Object] = ??? |
| 81 | + |
| 82 | + // Members declared in scala.collection.GenTraversableOnce |
| 83 | + def isTraversableAgain: Boolean = ??? |
| 84 | + def toIterator: Iterator[(Set[Int], String)] = ??? |
| 85 | + def toStream: Stream[(Set[Int], String)] = ??? |
| 86 | + |
| 87 | + // Members declared in scala.collection.TraversableOnce |
| 88 | + def copyToArray[B >: (Set[Int], String)](xs: Array[B],start: Int,len: Int): Unit = ??? |
| 89 | + def exists(p: ((Set[Int], String)) => Boolean): Boolean = ??? |
| 90 | + def find(p: ((Set[Int], String)) => Boolean): Option[(Set[Int], String)] = ??? |
| 91 | + def forall(p: ((Set[Int], String)) => Boolean): Boolean = ??? |
| 92 | + def foreach[U](f: ((Set[Int], String)) => U): Unit = ??? |
| 93 | + def hasDefiniteSize: Boolean = ??? |
| 94 | + def isEmpty: Boolean = ??? |
| 95 | + def seq: scala.collection.TraversableOnce[(Set[Int], String)] = ??? |
| 96 | + def toTraversable: Traversable[(Set[Int], String)] = ??? |
| 97 | + |
| 98 | + // Members declared in Xyz |
| 99 | + def foo(x: List[Int]): Boolean = ??? |
| 100 | + |
| 101 | +class Dingus extends Bippy[String, Set[Int], List[Int]] |
| 102 | + ^ |
| 103 | +four errors found |
0 commit comments