Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

51 fix oom #55

Merged
merged 3 commits into from
Jan 21, 2025
Merged

51 fix oom #55

merged 3 commits into from
Jan 21, 2025

Conversation

VonTum
Copy link
Collaborator

@VonTum VonTum commented Jan 21, 2025

There was an Out of Memory error that would occur spuriously.

Turns out, it was due to HindleyMilner::fully_substitute getting into infinite recursion, which was caused by a poor implementation of Hindley-Milner typing that didn't check for infinite types.

I have rewritten TypeSubstitutor::unify from scratch to resolve this

@VonTum VonTum linked an issue Jan 21, 2025 that may be closed by this pull request
@VonTum VonTum merged commit 3c4fe0b into master Jan 21, 2025
1 check passed
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.

OOM for the LSP when opening stl/core.sus
1 participant