diff options
Diffstat (limited to 'test/neg/overload.check')
-rw-r--r-- | test/neg/overload.check | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/neg/overload.check b/test/neg/overload.check deleted file mode 100644 index 011f10de7f..0000000000 --- a/test/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 |