New inference: eager solving for function application
Summary: With the `--new-inference` flag some function applications fail to type-check because the function expression has a unsolved type variable type. Best approach would be to subtype against a function type with fresh type variables, but we also need to consider reactivity, coroutineness etc which massively complicates matters. So for now, let's eagerly solve the type variable.
Reviewed By: manzyuk
Differential Revision:
D13505123
fbshipit-source-id:
553cf89bb0265e36a762573c3af46b5d66bfbf1c