summaryrefslogtreecommitdiff
path: root/test/files/pos/t3477.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t3477.scala')
-rw-r--r--test/files/pos/t3477.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/t3477.scala b/test/files/pos/t3477.scala
index 660aa55736..6a94baa6c8 100644
--- a/test/files/pos/t3477.scala
+++ b/test/files/pos/t3477.scala
@@ -1,7 +1,7 @@
class J3 {
- def f[K, K1 >: K, V](x: Map[K1, V]): Map[K, V] = error("")
+ def f[K, K1 >: K, V](x: Map[K1, V]): Map[K, V] = sys.error("")
}
object Test {
(new J3).f(Map[Int, Int]())
-} \ No newline at end of file
+}