diff options
Diffstat (limited to 'test/files/run/Course-2002-13.scala')
-rw-r--r-- | test/files/run/Course-2002-13.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/Course-2002-13.scala b/test/files/run/Course-2002-13.scala index ebdde8bf86..541008bb1b 100644 --- a/test/files/run/Course-2002-13.scala +++ b/test/files/run/Course-2002-13.scala @@ -50,14 +50,14 @@ class Interpreter { } } loop; - } except ({ + } catch { case (exception: FileNotFoundException) => System.out.println("not found: " + filename); ""; case (exception: IOException) => System.out.println("can't read: " + filename); ""; - }) + } } def run(prompt: String)(process: String => Unit): Unit = { |