Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Fix that stupid rootdir workaround since it's causing trouble #665

@DanielG

Description

@DanielG

See vim-syntastic/syntastic#1576

ghc-mod since 5.4 needs to be run in the directory returned by ghc-mod root. This is an ugly woraround for a race condition in the code, we really should fix the cause instead.

We start generating the symbol table for find asyncrounously when running legacy-interactive most of the code is here: https://github.com/kazu-yamamoto/ghc-mod/blob/master/src/Misc.hs The race condition comes from the fact that we use runGhcModT twice: once in the main thread, once in the async symboldb thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions