Skip to content
Snippets Groups Projects
Commit 7eb6685d authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Merge pull request #2390 from cocreature/master

Only print warning when starting repl
parents b4725586 4ea8e7d6
Branches fix8141
No related tags found
No related merge requests found
......@@ -549,9 +549,9 @@ buildOrReplLib forRepl verbosity numJobs pkg_descr lbi lib clbi = do
-- with ghci, but .c files can depend on .h files generated by ghc by ffi
-- exports.
when (null (libModules lib)) $
info verbosity "No exposed modules"
ifReplLib (runGhcProg replOpts)
ifReplLib $ do
when (null (libModules lib)) $ warn verbosity "No exposed modules"
ifReplLib (runGhcProg replOpts)
-- link:
unless forRepl $ do
......
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