Maxim Koltsov
Maxim Koltsov
I can also confirm @visnup's workaround in https://github.com/vercel/next.js/issues/16630#issuecomment-1037305875 I tried adding a comment before `@import` in my CSS file, but Next just left this line somewhere in the middle of...
I made a simple repository with reproducing example: https://github.com/maksbotan/hie-th-repro It the one I used in #1480 report. Open `src/Exp.hs` and you should be able to see that HIE fails. If...
Are you sure it works for you? Did you try to get, for example, hover on some name in Exp.hs? If so, what else can I check? Since I'm completely...
@fendor well, that command fails for me: ``` $ hie --debug src/ Invalid argument `src/' Usage: hie [--version] [--help] [--numeric-version] [--compiler] [-d|--debug] [-l|--logfile LOGFILE] [--lsp] [-r|--project-root PROJECTROOT] ([--bios-verbose] | [--vomit])...
Well, I tried the same project on Linux and it seems that it works: ``` 2020-01-27 20:30:43.554603985 [ThreadId 36] - Modules in the cradle: ["/home/maks/temp/hie-th-repro/src/Exp.hs","/home/maks/temp/hie-th-repro/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/build/autogen/Paths_hie_th_repro.hs","/home/maks/temp/hie-th-repro/src/TH.hs"] 2020-01-27 20:30:43.554794452 [ThreadId 36] -...
Hm, perhaps this is related: https://github.com/digital-asset/ghcide/issues/562
Hmm, I found what breaks it. Here's how to reproduce: module `TH.hs`: ```haskell module TH where import Data.Aeson (Value) import Data.Yaml (decodeFileThrow) import Language.Haskell.TH (Exp, Q, runIO) import Language.Haskell.TH.Syntax (addDependentFile,...
Maybe it's worth noting that I first observed this on a module that just _imports_ list defined in Exp.hs, therefore I had no idea that the problem is in TH.
Yes, looks like that. Where do you think the problem is -- in hie, ghc-mod or maybe ghc itself?
@alanz sadly, it's probably more complicated than that. Here's what I checked: - Use absolute path -- crash - Use absolute path and `readFile` instead of `decodeFileThrow` from Data.Yaml --...