Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch :
http://hackage.haskell.org/trac/ghc/changeset/ebdbd8bc7e023ec8ff3a6698c1dcb93094a4cff4 >--------------------------------------------------------------- commit ebdbd8bc7e023ec8ff3a6698c1dcb93094a4cff4 Author: David Terei <[email protected]> Date: Mon Jun 6 18:23:48 2011 -0700 SafeHaskell: Fix typo in warning >--------------------------------------------------------------- compiler/main/DynFlags.hs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 7263796..8563dd1 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -1266,7 +1266,7 @@ shFlagsDisallowed dflags = foldl check_method (dflags, []) bad_flags (xopt Opt_TemplateHaskell, "-XTemplateHaskell", flip xopt_unset Opt_TemplateHaskell)] - safeFailure str = [L noSrcSpan $ "Warning2: " ++ str ++ " is not allowed in" + safeFailure str = [L noSrcSpan $ "Warning: " ++ str ++ " is not allowed in" ++ " SafeHaskell; ignoring " ++ str] _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
