Skip to content

[inferno-core] Don't mask errors in unifyArgs - #219

Merged
ngua merged 1 commit into
mainfrom
rory-fix-unification-errors
May 20, 2026
Merged

ngua merged 1 commit into
mainfrom
rory-fix-unification-errors

Conversation

@ngua

@ngua ngua commented May 19, 2026

Copy link
Copy Markdown
Contributor

In #212 I accidentally masked type errors in unifyArgs, meaning in some cases programs that don't typecheck will be reported with a [] error list. This fixes that. Note that the use of dummyLoc is the same behavior as the older, substitution-map-based typechecker

@ngua
ngua merged commit 8a3233a into main May 20, 2026
1 check passed
@ngua
ngua deleted the rory-fix-unification-errors branch May 20, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants