blob: 760702778b3f1458629750fb748e956e02ad8625 (
plain) (
tree)
|
|
overload.scala:10: error: ambiguous reference to overloaded definition,
both method f in class D of type (Any)Unit
and method f in class C of type (int)Unit
match argument types (Int)
(new D).f(1)
^
one error found
|