From ebdbd8bc7e023ec8ff3a6698c1dcb93094a4cff4 Mon Sep 17 00:00:00 2001 From: David Terei Date: Mon, 6 Jun 2011 18:23:48 -0700 Subject: SafeHaskell: Fix typo in warning --- compiler/main/DynFlags.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.1