summaryrefslogtreecommitdiff
path: root/test/files/neg/t414.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t414.scala')
-rw-r--r--test/files/neg/t414.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t414.scala b/test/files/neg/t414.scala
index 2bc83eedcb..1662b9a105 100644
--- a/test/files/neg/t414.scala
+++ b/test/files/neg/t414.scala
@@ -3,7 +3,7 @@ case class Node[a](left: IntMap[a], keyVal: Pair[Int, a], right: IntMap[a]) exte
abstract class IntMap[a] {
def lookup(key: Int): a = this match {
case Empty =>
- error("clef inexistante")
+ sys.error("clef inexistante")
case _ =>
};