diff options
author | David Terei <davidterei@gmail.com> | 2011-06-06 18:23:48 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2011-06-17 20:40:34 -0700 |
commit | ebdbd8bc7e023ec8ff3a6698c1dcb93094a4cff4 (patch) | |
tree | 7e7058d8e9f0fa1d5a740c2dc21921972fb48620 | |
parent | c838658103c644ef6c32e92025b1d4999aa0f9bd (diff) | |
download | haskell-ebdbd8bc7e023ec8ff3a6698c1dcb93094a4cff4.tar.gz |
SafeHaskell: Fix typo in warning
-rw-r--r-- | 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 7263796ad9..8563dd19ce 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] |