diff options
-rw-r--r-- | tests/neg/i1747.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/neg/i1747.scala b/tests/neg/i1747.scala index b35e364fa..54492aaed 100644 --- a/tests/neg/i1747.scala +++ b/tests/neg/i1747.scala @@ -1,3 +1,3 @@ -class Coll[E] extends java.util.Collection[E] { - 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 } |