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

Update branch to main #139

Merged
merged 4 commits into from
Nov 11, 2024
Merged

Update branch to main #139

merged 4 commits into from
Nov 11, 2024

Conversation

Greg-Bm
Copy link
Collaborator

@Greg-Bm Greg-Bm commented Nov 11, 2024

No description provided.

Greg-Bm and others added 4 commits November 7, 2024 05:34
removing redundant imports

---------

Co-authored-by: Greg Baimetov <githubemail@example.com>
Co-authored-by: Greg Baimetov <githubemail@example.com>
Co-authored-by: Joseph Sumabat <josephrsumabat@gmail.com>
There are a few edge cases with the caching scheme we use that can
result in incorrect or missing language intelligence in certain cases.
Events which change a file _without_ triggering a change or save handler
in the lsp can result in a stale cache and consequently the
aforementioned issues.

This resolves most cases 
- We check file metadata to invalidate the hie cache if a newer hie file
is detected
- If a file is saved then we invalidate the file state cache (this
doesn't solve all stale file state cache issues but works for cases
which use a file watcher such as ghciwatch for a recompile).
@Greg-Bm Greg-Bm merged commit 4bca543 into greg/add-inlay-support Nov 11, 2024
7 checks 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.

2 participants