blob: 70d292b349f112501ff1375da25196f53b5699f7 (
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 (scala.Predef.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
|