X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcEnv.lhs;h=bcc2169942b77859f21263c239eca52a81293fd1;hb=77166b1729061531eeb77c33f4d3b2581f7d4c41;hp=f9a9179cbd1360ec643a21987d5e3cee16cc6fb8;hpb=1e436f2bb208a6c990743afaf17b7c2a93c31742;p=ghc-hetmet.git 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)