forked from scala/scala
/
abstract-report2.check
72 lines (66 loc) · 3.19 KB
/
abstract-report2.check
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
abstract-report2.scala:3: error: class Foo needs to be abstract.
Missing implementations for 13 members. Stub implementations follow:
def add(x$1: Int): Boolean = ???
def addAll(x$1: java.util.Collection[_ <: Int]): Boolean = ???
def clear(): Unit = ???
def contains(x$1: Object): Boolean = ???
def containsAll(x$1: java.util.Collection[_]): Boolean = ???
def isEmpty(): Boolean = ???
def iterator(): java.util.Iterator[Int] = ???
def remove(x$1: Object): 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.
Missing implementations for 13 members. Stub implementations follow:
def add(x$1: List[_ <: String]): Boolean = ???
def addAll(x$1: java.util.Collection[_ <: List[_ <: String]]): Boolean = ???
def clear(): Unit = ???
def contains(x$1: Object): Boolean = ???
def containsAll(x$1: java.util.Collection[_]): Boolean = ???
def isEmpty(): Boolean = ???
def iterator(): java.util.Iterator[List[_ <: String]] = ???
def remove(x$1: Object): 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.
Missing implementations for 13 members. Stub implementations follow:
def add(x$1: T): Boolean = ???
def addAll(x$1: java.util.Collection[_ <: T]): Boolean = ???
def clear(): Unit = ???
def contains(x$1: Object): Boolean = ???
def containsAll(x$1: java.util.Collection[_]): Boolean = ???
def isEmpty(): Boolean = ???
def iterator(): java.util.Iterator[T] = ???
def remove(x$1: Object): 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.
Missing implementations for 7 members. Stub implementations follow:
// Members declared in scala.collection.IterableOnceOps
def iterator: Iterator[(Set[Int], String)] = ???
// Members declared in scala.collection.IterableOps
protected def coll: List[(Set[Int], String)] = ???
protected def fromSpecific(coll: scala.collection.IterableOnce[(Set[Int], String)]): List[(Set[Int], String)] = ???
def iterableFactory: scala.collection.IterableFactory[List] = ???
protected def newSpecificBuilder: scala.collection.mutable.Builder[(Set[Int], String),List[(Set[Int], String)]] = ???
def toIterable: Iterable[(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