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.check19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/files/neg/overload.check b/test/files/neg/overload.check
deleted file mode 100644
index 011f10de7f..0000000000
--- a/test/files/neg/overload.check
+++ /dev/null
@@ -1,19 +0,0 @@
-overload.scala:15: x is already defined as value x in class Test
- var x: int = 3;
- ^
-overload.scala:5: foo is already defined in local scope
- def foo() = 2;
- ^
-overload.scala:11: ambiguous reference to overloaded definition,
-both method foo: ()scala.Int
-and method foo: ()scala.Int
-match argument types ()
- foo();
- ^
-overload.scala:13: ambiguous reference to overloaded definition,
-both value x$: scala.Int
-and variable x$: scala.Int
-match expected type scala.Int
- val x: int = 1;
- ^
-four errors found