We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506d17c commit 779eaf6Copy full SHA for 779eaf6
tests/neg/i1747.scala
@@ -1,3 +1,3 @@
1
-class Coll[E] extends java.util.Collection[E] {
2
- def toArray[T](a: Array[T]): Array[T] = ??? // error: cannot override // error
+class Coll[E] extends java.util.Collection[E] { // error: needs to be abstract
+ def toArray[T](a: Array[T]): Array[T] = ??? // error: cannot override
3
}
0 commit comments