diff options
Diffstat (limited to 'test/files/run/Course-2002-04.scala')
-rw-r--r-- | test/files/run/Course-2002-04.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/Course-2002-04.scala b/test/files/run/Course-2002-04.scala index e74711d454..d14af43a96 100644 --- a/test/files/run/Course-2002-04.scala +++ b/test/files/run/Course-2002-04.scala @@ -47,7 +47,7 @@ object M1 { def mergesort[a] (less : (a,a) => Boolean) (xs: Array[a]): Unit = { - def While(def c: Boolean)(def b: Unit): Unit = + def While(c: => Boolean)(b: => Unit): Unit = if (c) { b ; While(c)(b) } else (); def swap(i: Int, j: Int): Unit = { |