[commit: ghc] master: Fix error msg: ghci can't be used with -prof or -static (#10936) (e331392)
git at git.haskell.org
git at git.haskell.org
Sat Oct 10 13:22:04 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/e331392e1891941916ee8e508a127ec7fec33d3d/ghc
>---------------------------------------------------------------
commit e331392e1891941916ee8e508a127ec7fec33d3d
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Wed Oct 7 12:03:04 2015 +0200
Fix error msg: ghci can't be used with -prof or -static (#10936)
Reviewed by: austin
Differential Revision: https://phabricator.haskell.org/D1314
>---------------------------------------------------------------
e331392e1891941916ee8e508a127ec7fec33d3d
ghc/Main.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ghc/Main.hs b/ghc/Main.hs
index 7ca7481..9fb0718 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -330,7 +330,7 @@ checkOptions mode dflags srcs objs = do
when ((filter (not . wayRTSOnly) (ways dflags) /= interpWays)
&& isInterpretiveMode mode) $
do throwGhcException (UsageError
- "--interactive can't be used with -prof.")
+ "--interactive can't be used with -prof or -static.")
-- -ohi sanity check
if (isJust (outputHi dflags) &&
(isCompManagerMode mode || srcs `lengthExceeds` 1))
More information about the ghc-commits
mailing list