Skip to content

Commit 779eaf6

Browse files
committed
Fix test case^2
1 parent 506d17c commit 779eaf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/neg/i1747.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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
1+
class Coll[E] extends java.util.Collection[E] { // error: needs to be abstract
2+
def toArray[T](a: Array[T]): Array[T] = ??? // error: cannot override
33
}

0 commit comments

Comments
 (0)