Skip to content

Inference should flow information between arguments in a generic function call #731

Closed
@leafpetersen

Description

@leafpetersen

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.

Metadata

Metadata

Assignees

Labels

type-inferenceType inference, issues or improvements

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions