summaryrefslogtreecommitdiff
path: root/test/files/pos/simplelists.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/simplelists.scala')
-rw-r--r--test/files/pos/simplelists.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/simplelists.scala b/test/files/pos/simplelists.scala
index 143bbdd77b..73b04a8762 100644
--- a/test/files/pos/simplelists.scala
+++ b/test/files/pos/simplelists.scala
@@ -5,7 +5,7 @@
}
object Nil extends List[All] {
- def error(msg: String): All = new java.lang.Error(msg).throw;
+ def error(msg: String): All = throw new java.lang.Error(msg);
def head: All = error("Nil.head");
def tail: List[All] = error("Nil.tail");
}