summaryrefslogblamecommitdiff
path: root/test/files/neg/overload.check
blob: 65e6a9dc8198a7bcdf29a2d79d94556424658f55 (plain) (tree)
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.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