Unable to load modules in haskell-language-server/plugins/default #1394
Labels
component: ghcide
component: implicit-hie
status: needs info
Not actionable, because there's missing information
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
HLS version:
I found HLS could not load modules in this directory: for example, I opened Example.hs, and I got
The cradles generated by implicit-hie didn't include this file. However,
worked without error, and further, after I changed
loadImplicitHieCradle
toHieBios.loadImplicitCradle
athaskell-language-server/ghcide/session-loader/Development/IDE/Session.hs
Line 117 in c95b076
and
haskell-language-server/ghcide/session-loader/Development/IDE/Session.hs
Line 389 in c95b076
i.e. using hie-bios to load the cradle rather than implicit-hie-cradle, I could load these modules successfully. So I think this should be a bug in implicit-hie. It seems that implicit-hie doesn't support common stanzas, but after normalizing these parts (by running
cabal format
), the result is still inaccurate:The text was updated successfully, but these errors were encountered: