implement higher-order unification for type constructor inference #2712
Closed
Description
implement what's described in "Partial polymorphic type inference and higher-order unification"
object Test {
def meh[M[_], A](x: M[A]): M[A] = x
meh{(x: Int) => x} // should solve ?M = [X] X => X and ?A = Int ...
}