You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just a stub issue to keep track of the goal of having "stack ghci" properly load packages, including switching cwd when loading modules (for TH file loading). I am removing the support for using intero's :cd-ghc command with multiple packages, because it doesn't always work, doesn't work on reload, and was generally a regression in behavior for multi-package projects - see #3309
A proper solution to this requires an implementation in ghci / intero. Some relevant issues:
From the other side there were 2 GSoC projects and some MRs to GHC aiming to resolve the problem of loading multiple packages into GHCi, the main entry point looks to be the wiki page Multi Session GHC API
This is just a stub issue to keep track of the goal of having "stack ghci" properly load packages, including switching cwd when loading modules (for TH file loading). I am removing the support for using intero's
:cd-ghc
command with multiple packages, because it doesn't always work, doesn't work on reload, and was generally a regression in behavior for multi-package projects - see #3309A proper solution to this requires an implementation in ghci / intero. Some relevant issues:
https://ghc.haskell.org/trac/ghc/ticket/10827
https://github.com/commercialhaskell/intero/issues/41
https://github.com/commercialhaskell/intero/issues/39
The text was updated successfully, but these errors were encountered: