Closed fendor closed 4 years ago
@fendor Unfortunately, we can't do anything with the fact that the generated HIE files are incomplete. However, we can improve Stan's behaviour in this case, so the user can understand better the problem, and maybe open the follow-up issues in the responsible tools.
I have made such changes in #328, This should fix it :slightly_smiling_face:
Not sure whether this issue belongs here or to ghcide.
Stan doesnt work with HIE files generated by Haskell Language Server / ghcide.
The issue was described in reddit and the explanation of what is missing:
I confirmed in ghcide that the source bytestring is empty: https://github.com/digital-asset/ghcide/blob/master/src/Development/IDE/Core/Compile.hs#L281 and https://github.com/digital-asset/ghcide/blob/master/src-ghc88/Development/IDE/GHC/HieAst.hs#L94