diff options
Diffstat (limited to 'test/files/run/Course-2002-08.scala')
-rw-r--r-- | test/files/run/Course-2002-08.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/Course-2002-08.scala b/test/files/run/Course-2002-08.scala index de6b497fde..0c0926fa09 100644 --- a/test/files/run/Course-2002-08.scala +++ b/test/files/run/Course-2002-08.scala @@ -91,7 +91,7 @@ object M1 { object M2 { - def While(def condition: Boolean)(def command: Unit): Unit = + def While(condition: => Boolean)(command: => Unit): Unit = if (condition) { command; While(condition)(command) } else { |