summaryrefslogtreecommitdiff
path: root/test/files/pos/t2797.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t2797.scala')
-rw-r--r--test/files/pos/t2797.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/t2797.scala b/test/files/pos/t2797.scala
index 4323664e91..cf579d8de4 100644
--- a/test/files/pos/t2797.scala
+++ b/test/files/pos/t2797.scala
@@ -1,9 +1,9 @@
class MyVector[A] {
- def map[B](f: A => B): MyVector[B] = error("")
+ def map[B](f: A => B): MyVector[B] = sys.error("")
}
object Test {
def unzip[B, C](_this: MyVector[(B, C)]): (MyVector[B], MyVector[C]) = {
(_this.map{ bc => bc._1 }, _this.map{ bc => bc._2 })
}
-} \ No newline at end of file
+}