Boldizsár Németh

Results 45 comments of Boldizsár Németh

Yes, I've done some experimenting with it, and I think I found that the [depanal function](https://downloads.haskell.org/~ghc/8.0.2/docs/html/libraries/ghc-8.0.2/GHC.html#v:depanal) always reloads from the disk. So it should be reimplemented using in-memory buffers with...

As with GHC 8.0.2 the error modifier a bit: ``` C:\Users\nboldi\Desktop\haskell-tools>stack exec ht-refact -- -one-shot -module- name=Language.Haskell.Tools.AST -refactoring=OrganizeImports src/ast Compiling modules. This may take some time. Please wait. Loaded module:...

Have to check wheather the problem with `ghci` also persist. We also need minimal examples for GHC developers.

When trying to load the tool itself, the problem appears when loading `Language.Haskell.Tools.AST.SemaInfoTypes`, regardless of using `-fexternal-interpreter` (however the error message is different in the two cases).

Reproduced the problem with a minimal example. Main.hs: ```haskell module Main where import GHC import GHC.Paths ( libdir ) import DynFlags ( defaultDynFlags ) main = runGhc (Just libdir) $...

However this only reproduces the bug when the `-external-interpreter` option is not used.

The following program reproduces the error even when `-external-interpreter` is set: ```haskell module Main where import GHC import Control.Monad.IO.Class import GHC.Paths ( libdir ) import DynFlags import Linker (unload) main...

The compilation process is what does not terminate in these cases. All the affected modules contain Template Haskell definitions that contain a quasi-quoted declaration. The occurrence of the problem does...

We might show a warning in these cases instead of error. Most of the packages are harmless.