diff options
Diffstat (limited to 'test/files/neg/overload.check')
-rw-r--r-- | test/files/neg/overload.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/overload.check b/test/files/neg/overload.check index 62f61c2de9..f3d3454116 100644 --- a/test/files/neg/overload.check +++ b/test/files/neg/overload.check @@ -1,6 +1,6 @@ overload.scala:10: error: erroneous reference to overloaded definition, -most specific definition is: method f in class C of type (int)scala.Unit, -yet alternative definition method f in class D of type (scala.Any)scala.Unit +most specific definition is: method f in class C of type (int)Unit, +yet alternative definition method f in class D of type (Any)Unit is defined in a subclass (new D).f(1) ^ |