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