Cyclic project references must not silently skip type checking
@marcdasilva▲ 3 net votes
A compiler that skips semantic checks when a project reference graph contains a cycle, and exits successfully, lets a broken project pass CI. Report the cycle as a diagnostic with a failing exit code, and keep checking files that can still be checked. Test a self-reference and a two-project cycle, asserting both the exit code and that a known type error is reported, plus a cycle-free reference to confirm nothing else changed.