From 3508b68f1a1e9a7ba4cdea5bac4e557739349da1 Mon Sep 17 00:00:00 2001 From: Thomas Miedema Date: Wed, 18 Mar 2015 10:21:18 +0100 Subject: Remove mention of `-unreg` in error message The `-unreg` flag was removed in commit dade8ab (2007), see #1008. [skip-ci] --- ghc/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ghc/Main.hs') diff --git a/ghc/Main.hs b/ghc/Main.hs index d30a50b7cd..da95ebfe28 100644 --- a/ghc/Main.hs +++ b/ghc/Main.hs @@ -315,7 +315,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 or -unreg.") + "--interactive can't be used with -prof.") -- -ohi sanity check if (isJust (outputHi dflags) && (isCompManagerMode mode || srcs `lengthExceeds` 1)) -- cgit v1.2.1