From: simonpj@microsoft.com Date: Fri, 11 Sep 2009 09:08:19 +0000 (+0000) Subject: Wibble to error message X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=50e6ff3134322282ddc77031b402810efe73a9ba;hp=bd04809a6475c57250ffebb265efebf13e9493b8 Wibble to error message --- diff --git a/compiler/typecheck/TcEnv.lhs b/compiler/typecheck/TcEnv.lhs index f9a9179..bcc2169 100644 --- a/compiler/typecheck/TcEnv.lhs +++ b/compiler/typecheck/TcEnv.lhs @@ -538,7 +538,7 @@ checkWellStaged pp_thing bind_lvl use_lvl = failWithTc $ sep [ptext (sLit "GHC stage restriction:") <+> pp_thing, nest 2 (vcat [ ptext (sLit "is used in a top-level splice or annotation,") - , ptext (sLit ", and must be imported, not defined locally")])] + , ptext (sLit "and must be imported, not defined locally")])] | otherwise -- Badly staged = failWithTc $ -- E.g. \x -> $(f x)