aboutsummaryrefslogtreecommitdiff
path: root/tests/neg
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-02-15 14:41:02 +0100
committerMartin Odersky <odersky@gmail.com>2017-02-15 14:41:02 +0100
commitaa561a034cb9205d05737a602dc2268ec798fa53 (patch)
treef0610bc00dcc5af738ff0ce579578e19095772fa /tests/neg
parentef383a8a05547432c01d779976a4ea4ca2dffab9 (diff)
downloaddotty-aa561a034cb9205d05737a602dc2268ec798fa53.tar.gz
dotty-aa561a034cb9205d05737a602dc2268ec798fa53.tar.bz2
dotty-aa561a034cb9205d05737a602dc2268ec798fa53.zip
Fix test case
Diffstat (limited to 'tests/neg')
-rw-r--r--tests/neg/i1747.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/neg/i1747.scala b/tests/neg/i1747.scala
index 9675de992..b35e364fa 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
+ def toArray[T](a: Array[T]): Array[T] = ??? // error: cannot override // error
}