Closed
Description
I believe strong mode's LUB is not sound for function types (parameter types are computed via LUB).
Also we don't handle generic function types correctly:
// The type we infer for `v` is currently `(Object) -> int`, which is wrong.
final v = f() ? /*<T>*/(T t) => 0 : /*<T>*/(T t) => 1;
bool f() => true;