logoalt Hacker News

munificentyesterday at 6:01 PM0 repliesview on HN

This is what I was thinking too. Just do a single unification pass, but track the provenance of each type assignment. If an error is needed, use the provenances of the colliding unifications to decide which context locations to prioritize.