Skip to content

Shown cabal completions are wrong when queried too quickly after a change in the file #4293

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

Closed
VeryMilkyJoe opened this issue Jun 8, 2024 · 0 comments · Fixed by #4294
Closed
Labels
component: hls-cabal-plugin Issues related to the hls-cabal-plugin status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@VeryMilkyJoe
Copy link
Collaborator

When prompting completions directly after changing the cabal file, incorrect completions are shown.

This is the result of useWithStaleFast which is used when calling CabalParseFields as the results are queried before the computation has actually finished.

@VeryMilkyJoe VeryMilkyJoe added type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. status: needs triage component: hls-cabal-plugin Issues related to the hls-cabal-plugin labels Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: hls-cabal-plugin Issues related to the hls-cabal-plugin status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
1 participant