Loading mutliple components where one reexports a module from the other one fails with:
cabal repl io-classes:io-classes io-classes:strict-stm
Resolving dependencies...
Build profile: -w ghc-9.8.2 -O1
In order, the following will be built (use -v for more details):
- io-classes-1.5.0.0 (interactive) (lib) (configuration changed)
- io-classes-1.5.0.0 (interactive) (lib:strict-stm) (configuration changed)
Configuring library for io-classes-1.5.0.0...
Preprocessing library for io-classes-1.5.0.0...
Configuring library 'strict-stm' for io-classes-1.5.0.0...
Preprocessing library 'strict-stm' for io-classes-1.5.0.0...
GHCi, version 9.8.2: https://www.haskell.org/ghc/ :? for help
Command is not supported (yet) in multi-mode
Command is not supported (yet) in multi-mode
Command is not supported (yet) in multi-mode
Command is not supported (yet) in multi-mode
Command is not supported (yet) in multi-mode
Command is not supported (yet) in multi-mode
Command is not supported (yet) in multi-mode
Loaded GHCi configuration from /home/coot/.ghci
<no location info>: error: [GHC-68286]
Modules are listed as reexported in options for ‘io-classes-1.5.0.0-inplace-strict-stm’ but can't be found in any dependency:
Control.Concurrent.Class.MonadSTM.Strict.TSem
To Reproduce
This can be reproduced using coot/io-classes branch of the input-output-hk/io-sim repo. If reexported-modules in strict-stm package is removed from the io-classes.cabal file the session is loaded.
Describe the bug
Loading mutliple components where one reexports a module from the other one fails with:
To Reproduce This can be reproduced using
coot/io-classes
branch of the input-output-hk/io-sim repo. Ifreexported-modules
instrict-stm
package is removed from theio-classes.cabal
file the session is loaded.System information
cabal-3.12.1.0
ghc-9.8.2