fendor

Results 792 comments of fendor

Reloading modules, yes, otherwise we cant tell which modules need changes after one of their module dependencies have changed. However, that should be fast, comparable to a `:r` in ghci...

> * Use of Template Haskell > * Use of hs-boot files Yeah, both of these are not well supported and cause regular problems :(

Stack Trace: ``` *** Exception (reporting due to +RTS -xc): (base:GHC.Exception.Type.SomeException), stack trace: HscMain.hscCompileCoreExpr', called from HscMain.hscCompileCoreExpr, called from TcRnDriver.tc_rn_src_decls, called from TcRnDriver.tcRnSrcDecls, called from HscMain.ioMsgMaybe, called from HscMain.Typecheck-Rename, called...

While there are ton of stacktraces, too, loading the file `hie-plugin-api/Haskell/Ide/Engine/Cradle.hs` succeeds. I will test if removing the dependency on `Paths_` module fixes the problem.

@mudsam @dpvanbalen There should be a loading message in VSCode, or lsp-client of choice, does it get stuck on a specific Module? Can you reproduce it (with latest master), with...

So, I think this issue is related to Template Haskell. Will need more investigation.

It is very subtle, on your example, it works for me with cabal and stack. However, I get messages like: `2020-01-26 21:03:14.499238735 [ThreadId 97] - Source error on cradle initialisation:...

I am sure that it is working, I tried changing code, hover etc... You don't need to check anything, I *know* that this is an issue on linux, I initially...

Ironically, I can reproduce it now on the Haskell IDE Engine Code base, stuck on `Version.hs`. This is a huge example though.

It might be a race. When I was compiling stuff while trying to reproduce the bug, it didnt happen. The moment I stopped compiling (e.g. stopped maxing out my cpu),...