> Unidirectional type inference would make for more intelligible compiler errors. Full Hindley-Milner can get confusing.
Bidirectional type checking has good error messages and a very intuitive implementation.
Bidirectional type checking has good error messages and a very intuitive implementation.
My personal experience has been very much in line with OP's: nonlocal type inference (in Rust specifically) frequently makes code hard to modify because a change can cause inference to fail in unexpected ways and places. Local inference doesn't have the same tendency.
I'm using it for my personal lang project and I'm quite satisfied as well, it translates easily into code and interacts well with subtyping.