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 86e5c12 commit e9978c0Copy full SHA for e9978c0
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