From 50e6ff3134322282ddc77031b402810efe73a9ba Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Fri, 11 Sep 2009 09:08:19 +0000 Subject: [PATCH] Wibble to error message --- compiler/typecheck/TcEnv.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4