Skip to content

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

Closed
@VeryMilkyJoe

Description

@VeryMilkyJoe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hls-cabal-pluginIssues related to the hls-cabal-pluginstatus: needs triagetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions