diff options
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/exceptions.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/exceptions.scala b/test/files/pos/exceptions.scala index 50d84d3d30..dc7f730f0d 100644 --- a/test/files/pos/exceptions.scala +++ b/test/files/pos/exceptions.scala @@ -7,7 +7,7 @@ module test { def main(): Unit { try { try { - error[Unit]("hi!"); + error("hi!"); } finally { System.out.println("ho!") } |