blob: 9d746351d1395910454d95b545550be0e9898473 (
plain) (
blame)
1
2
3
4
5
6
7
|
t6214.scala:5: error: ambiguous reference to overloaded definition,
both method m in object Test of type (f: Int => Unit)Int
and method m in object Test of type (f: String => Unit)Int
match argument types (Any => Unit)
m { s => case class Foo() }
^
one error found
|