Haskell Language Server passes file target for direct
cradle to the cabal
cradle
#4431
Labels
component: ghcide
multi-component
Issues relating to multi-component support
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
More generally, if a project has a multi cradle setup, we need to make sure we respect cradle type resolution.
Reproducer:
Logs:
the issue boils down to this cabal error:
$ cabal v2-repl --enable-multi-repl /home/hugin/Documents/haskell/hls/ghcide/src/Development/IDE/Spans/AtPoint.hs /home/hugin/Documents/haskell/hls/ghcide/test/data/hover/GotoHover.hs Error: [Cabal-7121] Failed extracting script block: `{- cabal:` start marker not found
GotoHover
is part of a direct cradle with the contents:The text was updated successfully, but these errors were encountered: