Open jneira opened 4 years ago
In the logs, a mismatching ghc version is mentioned. Just for completeness, can you check if the same happens for a matching ghc version?
It worked for me not much time ago so i've installed version e2f8e321 and it works. hie.log I'll try to identify the commit that causes the hang...
Ok, @fendor was right and it seems the cause is i am trying to open a stack project with ghc-8.6.4 with hie compiled with ghc-8.6.5, and it already was warning me. Not sure if it is the expected behaviour cause hie-wrapper falls back to hie-8.6 (that is, ghc-8.6.5 in my case) when it has not the exact version. Anyway this has a clear workaround and a existing warning so imho has not a high priority.
"setTypecheckedModule: after ghc-mod"
is never emittedhie-plugin-api
:https://github.com/haskell/haskell-ide-engine/blob/098b1800c16ec1348fe9d380b946ec4ffa884f38/hie-plugin-api/Haskell/Ide/Engine/Ghc.hs#L192-L201