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

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

Closed
DanielG opened this issue Oct 19, 2015 · 1 comment
Closed

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

DanielG opened this issue Oct 19, 2015 · 1 comment
Milestone

Comments

@DanielG
Copy link
Owner

DanielG commented Oct 19, 2015

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:/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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant