summaryrefslogtreecommitdiff
path: root/test/files/neg/altherr2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/altherr2.scala')
-rw-r--r--test/files/neg/altherr2.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/altherr2.scala b/test/files/neg/altherr2.scala
index 41bcffca36..6ab26526f7 100644
--- a/test/files/neg/altherr2.scala
+++ b/test/files/neg/altherr2.scala
@@ -1,6 +1,6 @@
trait Foo[a];
-module Bug {
+object Bug {
def foo[a](): Foo[a] = foo[a]();
foo()[Int];
}