Why does partial function application in Scala require a type to be supplied, like in:
def func(a: Int, b: Int) = ???
def func1 = func(_ : Int, 1) // compiles fine
def func1x = func(_, 1) // does not compile
// error: missing parameter type for expanded function ((x$2) => func(x$2, 1))
Why is type not inferred in this case? Would inferring type lead to a complicated or ambiguous grammar, or is the type perhaps not as clear as it seems to me?