summaryrefslogtreecommitdiff
path: root/test/files/pos/simplelists.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-08-28 15:04:01 +0000
committerMartin Odersky <odersky@gmail.com>2003-08-28 15:04:01 +0000
commitcef4819a2034134b26db1f6eb85c8999421af5c1 (patch)
treeb57925ad96c33df8e69a75b917fa147e8495ad8a /test/files/pos/simplelists.scala
parent1ba1b5f0d6f3fea116ea5858842bb539257f511b (diff)
downloadscala-cef4819a2034134b26db1f6eb85c8999421af5c1.tar.gz
scala-cef4819a2034134b26db1f6eb85c8999421af5c1.tar.bz2
scala-cef4819a2034134b26db1f6eb85c8999421af5c1.zip
*** empty log message ***
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");
}