diff options
author | michelou <michelou@epfl.ch> | 2007-08-17 14:22:22 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-08-17 14:22:22 +0000 |
commit | b47ed354cf13fa9b1607d6c638224782d111fc5c (patch) | |
tree | f927bd51b110143e96c0c554f9bcec160006c099 /test/files/run/Course-2002-03.scala | |
parent | 300caee15c263c956ebf8f428fc827109ebfc9d8 (diff) | |
download | scala-b47ed354cf13fa9b1607d6c638224782d111fc5c.tar.gz scala-b47ed354cf13fa9b1607d6c638224782d111fc5c.tar.bz2 scala-b47ed354cf13fa9b1607d6c638224782d111fc5c.zip |
updated several tests for MSIL
Diffstat (limited to 'test/files/run/Course-2002-03.scala')
-rw-r--r-- | test/files/run/Course-2002-03.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/files/run/Course-2002-03.scala b/test/files/run/Course-2002-03.scala index efb3c81446..7fb0d2636c 100644 --- a/test/files/run/Course-2002-03.scala +++ b/test/files/run/Course-2002-03.scala @@ -3,7 +3,6 @@ //############################################################################ // $Id$ -import scala.compat.StringBuilder; object M0 { class Rational(x: Int, y: Int) { @@ -274,7 +273,7 @@ object M8 { new NonEmpty(f(elem), lset, rset) } - def foreach(f: Int => Unit): Unit = { + def foreach(f: Int => Unit) { left.foreach(f); f(elem); right.foreach(f); @@ -376,7 +375,7 @@ object M9 { //############################################################################ object Test { - def main(args: Array[String]): Unit = { + def main(args: Array[String]) { M0; M1; M2; |