blob: 62f61c2de9326d5f2761db7da9933d45cac2df89 (
plain) (
blame)
1
2
3
4
5
6
7
|
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
is defined in a subclass
(new D).f(1)
^
one error found
|