def overloaded[A](a: A): A = a
def overloaded[A, B](a: A, b: B): A = a
def f = overloaded _
compiles in scala 2.12
In dotty this results in
|Ambiguous overload. The overloaded alternatives of method overloaded in object Test with types
| [A, B](a: A, b: B): A
| [A](a: A): A
|both match expected type ?
I expected the same behaviour in scala