summaryrefslogtreecommitdiff
path: root/test/files/neg/overload.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/overload.check')
-rw-r--r--test/files/neg/overload.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/overload.check b/test/files/neg/overload.check
index 760702778b..0faa97adb1 100644
--- a/test/files/neg/overload.check
+++ b/test/files/neg/overload.check
@@ -1,6 +1,6 @@
overload.scala:10: error: ambiguous reference to overloaded definition,
-both method f in class D of type (Any)Unit
-and method f in class C of type (int)Unit
+both method f in class D of type (x: Any)Unit
+and method f in class C of type (x: int)Unit
match argument types (Int)
(new D).f(1)
^