diff options
author | Martin Odersky <odersky@gmail.com> | 2003-08-28 15:04:01 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-08-28 15:04:01 +0000 |
commit | cef4819a2034134b26db1f6eb85c8999421af5c1 (patch) | |
tree | b57925ad96c33df8e69a75b917fa147e8495ad8a /test/pos | |
parent | 1ba1b5f0d6f3fea116ea5858842bb539257f511b (diff) | |
download | scala-cef4819a2034134b26db1f6eb85c8999421af5c1.tar.gz scala-cef4819a2034134b26db1f6eb85c8999421af5c1.tar.bz2 scala-cef4819a2034134b26db1f6eb85c8999421af5c1.zip |
*** empty log message ***
Diffstat (limited to 'test/pos')
-rw-r--r-- | test/pos/simplelists.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pos/simplelists.scala b/test/pos/simplelists.scala index 143bbdd77b..73b04a8762 100644 --- a/test/pos/simplelists.scala +++ b/test/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"); } |