Local Type Inference for Flow
Over the course of 2021 and 2022, we have built LTI (Local Type Inference), a rewrite of Flow’s type inference algorithm. This change makes Flow’s inference behavior more reliable and predictable. It replaces a global inference scheme that Flow has relied on since its…