projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cd759f0
)
Elaborate for-all message slightly
author
simonpj@microsoft.com
<unknown>
Wed, 20 Aug 2008 12:07:28 +0000
(12:07 +0000)
committer
simonpj@microsoft.com
<unknown>
Wed, 20 Aug 2008 12:07:28 +0000
(12:07 +0000)
compiler/rename/RnEnv.lhs
patch
|
blob
|
history
diff --git
a/compiler/rename/RnEnv.lhs
b/compiler/rename/RnEnv.lhs
index
a4c4afd
..
6c3567a
100644
(file)
--- a/
compiler/rename/RnEnv.lhs
+++ b/
compiler/rename/RnEnv.lhs
@@
-987,7
+987,8
@@
unknownNameErr rdr_name
, extra ]
where
extra | rdr_name == forall_tv_RDR
- = ptext (sLit "Perhaps you intended to use -XRankNTypes or similar flag")
+ = vcat [ptext (sLit "Perhaps you intended to use -XRankNTypes or similar flag"),
+ ptext (sLit "to enable explicit-forall syntax: forall <tvs>. <type>?")]
| otherwise = empty
unknownSubordinateErr :: SDoc -> RdrName -> SDoc