EDIT by @jmesserly
Inference should flow information up/down between arguments in a generic function call. This will help inference common methods like Iterable.fold and Future.forEach.
(original description)
We currently do downwards and upwards inference independently. This gets us a fair bit, but we should eventually integrate the two, probably following the colored local type inference approach.
EDIT by @jmesserly
Inference should flow information up/down between arguments in a generic function call. This will help inference common methods like
Iterable.foldandFuture.forEach.(original description)
We currently do downwards and upwards inference independently. This gets us a fair bit, but we should eventually integrate the two, probably following the colored local type inference approach.