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.
2 parents 86e5c12 + e9978c0 commit 54cc7f5Copy full SHA for 54cc7f5
tests/pos/i1747.scala
@@ -1,3 +1,3 @@
1
abstract class Coll[E] extends java.util.Collection[E] {
2
- override def toArray[T](a: Array[T with Object]): Array[T with Object] = ??? // error: cannot override
+ override def toArray[T](a: Array[T with Object]): Array[T with Object] = ???
3
}
0 commit comments