Skip to content

Diagnostics don't always refresh on edits. #4985

Description

@AndreasPK

Your environment

Windows/VSCode/ghc-9.10 currently but I think I've seen this issue with ghc-9.12 too.

Steps to reproduce

The Problem

Sometimes HLS doesn't refresh the diagnostics after the file changed.

Image

I think this is some race condition between updating diagnostics and saving the file.
That is a rapid succession of edit->save events makes this happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions