Skip to content
Snippets Groups Projects
Commit 9c6b142e authored by mbieleck's avatar mbieleck Committed by Edward Z. Yang
Browse files

Setup: Don't skip repl for indefinite components (#5620)

For some reason repl invocation was skipped for indefinite components.
However, GHCi seems to handle them just fine.

Fixes #5619.
parent 248c8c17
No related branches found
No related tags found
No related merge requests found
......@@ -655,7 +655,7 @@ buildOrReplLib mReplFlags verbosity numJobs pkg_descr lbi lib clbi = do
unless forRepl $ whenProfLib (runGhcProgIfNeeded profCxxOpts)
| filename <- cxxSources libBi]
when has_code . ifReplLib $ do
ifReplLib $ do
when (null (allLibModules lib clbi)) $ warn verbosity "No exposed modules"
ifReplLib (runGhcProg replOpts)
......
......@@ -2,6 +2,7 @@
2.6.0.0 (current development version)
* New solver flag: '--reject-unconstrained-dependencies'. (#2568)
* "cabal new-repl" now works for indefinite (in the Backpack sense) components.
2.4.0.1
* 'new-sdist' now generates tarballs with file modification
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment