Skip to content

ghcide test IfaceTests, we should remove interface cache dir before we run the test, or the diganostic simply gone #4200

Open
@soulomoon

Description

@soulomoon

This can happened in the second round doing the test.

Reproduce

Run this consectively

LSP_TEST_LOG_MESSAGES=1 LSP_TEST_LOG_STDERR=1  TASTY_PATTERN="iface-error-test-1" cabal test ghcide-tests

we are seeing

Debug | SUCCEEDED LOADING HIE FILE FOR /Users/ares/.cache/ghcide/main-67f5d3e80e9a5dab967334c225648bdcd080465f-67f5d3e80e9a5dab967334c225648bdcd080465f/P.hie

The test past again if we remove the cache dir entirely

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions