Set the first multi-repl targets as the active unit
When using the multi components repl, the last unit given to ghc is the active unit. This change uses the cabal repl argument order instead of relying on the 'listDirectory' ordering.
Showing
- cabal-install/src/Distribution/Client/CmdRepl.hs 20 additions, 1 deletioncabal-install/src/Distribution/Client/CmdRepl.hs
- cabal-testsuite/PackageTests/MultiRepl/EnabledClosure/cabal.test.hs 2 additions, 8 deletions...suite/PackageTests/MultiRepl/EnabledClosure/cabal.test.hs
- cabal-testsuite/PackageTests/MultiRepl/EnabledSucc/cabal.test.hs 2 additions, 6 deletions...estsuite/PackageTests/MultiRepl/EnabledSucc/cabal.test.hs
- doc/internal/multi-repl.md 10 additions, 1 deletiondoc/internal/multi-repl.md
Please register or sign in to comment