projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd04809
)
Wibble to error message
author
simonpj@microsoft.com
<unknown>
Fri, 11 Sep 2009 09:08:19 +0000
(09:08 +0000)
committer
simonpj@microsoft.com
<unknown>
Fri, 11 Sep 2009 09:08:19 +0000
(09:08 +0000)
compiler/typecheck/TcEnv.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcEnv.lhs
b/compiler/typecheck/TcEnv.lhs
index
f9a9179
..
bcc2169
100644
(file)
--- 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)