summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/exceptions.scala2
-rw-r--r--test/pos/exceptions.scala2
2 files changed, 2 insertions, 2 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!")
}
diff --git a/test/pos/exceptions.scala b/test/pos/exceptions.scala
index 50d84d3d30..dc7f730f0d 100644
--- a/test/pos/exceptions.scala
+++ b/test/pos/exceptions.scala
@@ -7,7 +7,7 @@ module test {
def main(): Unit {
try {
try {
- error[Unit]("hi!");
+ error("hi!");
} finally {
System.out.println("ho!")
}