blob: 0faa97adb10fff4cff078e0587993eb8d1408867 (
plain) (
blame)
1
2
3
4
5
6
7
|
overload.scala:10: error: ambiguous reference to overloaded definition,
both method f in class D of type (x: Any)Unit
and method f in class C of type (x: int)Unit
match argument types (Int)
(new D).f(1)
^
one error found
|