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:
cb8184d
)
Suggest -XRelaxedPolyRec rather than -fglasgow-exts in an error message
author
Ian Lynagh
<igloo@earth.li>
Mon, 16 Jun 2008 21:34:38 +0000
(21:34 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Mon, 16 Jun 2008 21:34:38 +0000
(21:34 +0000)
compiler/typecheck/TcUnify.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcUnify.lhs
b/compiler/typecheck/TcUnify.lhs
index
d7282b6
..
1aa0bf6
100644
(file)
--- a/
compiler/typecheck/TcUnify.lhs
+++ b/
compiler/typecheck/TcUnify.lhs
@@
-996,7
+996,7
@@
unifyTheta :: TcThetaType -> TcThetaType -> TcM [CoercionI]
unifyTheta theta1 theta2
= do { checkTc (equalLength theta1 theta2)
(vcat [ptext (sLit "Contexts differ in length"),
- nest 2 $ parens $ ptext (sLit "Use -fglasgow-exts to allow this")])
+ nest 2 $ parens $ ptext (sLit "Use -XRelaxedPolyRec to allow this")])
; uList unifyPred theta1 theta2
}