-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird errors when a local intermediate component is not loaded #1370
Comments
For completeness, this would be a manifestation of
|
Any update on this? Or do we have a known workaround, for example a quick way to load all packages in the local project? |
Afaik no other than load the appropiate files to load all the needed components. |
Does #2994 fix this? I don't have a GHC-9.4-compatible reproducer to hand. |
Oh, I missed @jneira's comment above. I thought this was down to MHU, not show-build-info. Must have misremembered. |
As alluded to in #3422, this tends to manifest differently with GHC 9.4, usually with spurious "overlapping instance" errors. |
Closing in favour of #3738. |
EDIT/tl;dr: This is a known issue, and the solution seems to involve #3422 and/or haskell/hie-bios#269.
One of my projects hits a strange error which doesn't show up outside of HLS. Could be to do with the way I'm using
cabal.project
, orc2hs
. No idea really.When loading
evdev-examples/evtest/Main.hs
:PS. will only build on Linux (or BSD)
haskell-language-server version: 0.9.0.0 (GHC: 8.10.2) (PATH: /home/gthomas/.config/Code - OSS/User/globalStorage/haskell.haskell/haskell-language-server-0.9.0-linux-8.10.2) (GIT hash: 46d2a3dc7ef49ba57b2706022af1801149ab3f2b) Tool versions found on the $PATH cabal: 3.2.0.0 stack: Not found ghc: 8.10.2
The text was updated successfully, but these errors were encountered: