summaryrefslogtreecommitdiff
path: root/test/files/neg/overlapping.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/overlapping.check')
-rw-r--r--test/files/neg/overlapping.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/overlapping.check b/test/files/neg/overlapping.check
index 68251d32f7..8a018d500a 100644
--- a/test/files/neg/overlapping.check
+++ b/test/files/neg/overlapping.check
@@ -1,6 +1,6 @@
-overlapping.scala:9: overlapping overloaded alternatives; the two following alternatives of method foo have the same erasure: ()Any
- alternative 1: def foo: X.this.I
- alternative 2: def foo: X.this.J
+overlapping.scala:9: Double declaration:
+method foo: X.this.I and
+method foo: X.this.J have same types after erasure
def foo: J;
^
one error found