diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/bug457.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/bug457.scala b/test/files/run/bug457.scala index 3438857a7a..ae53ea8e1a 100644 --- a/test/files/run/bug457.scala +++ b/test/files/run/bug457.scala @@ -26,12 +26,12 @@ object Test { if (y == 100) result1 else - scala.MatchError.fail("crazybox.scala", 11) + throw new MatchError("crazybox.scala, line 11") } && (y > 90) ) result else - scala.MatchError.fail("crazybox.scala", 9); + throw new MatchError("crazybox.scala, line 9") } } |