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

Normalise paths on ResolverCache set and lookup #2498

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

paulcadman
Copy link
Collaborator

Paths are used as keys in the PathResolver ResolverCache. These paths must be normalised because a path may have a different representation when it is used to set an entry in the cache and when it is used to lookup from the cache.

Path normalisation is also used in the REPL before a directory is compared with the standard library path.

@paulcadman paulcadman merged commit 9d75dca into main Nov 6, 2023
4 checks passed
@paulcadman paulcadman deleted the fix-resolver-cache-normalize branch November 6, 2023 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

juvix compile / repl crashes when run without a project and $XDG_CONFIG_HOME is a symlink
2 participants