From cd6658d04b5451d9b7c5c3b758bff8a0b5a63e7a Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 16 Jun 2008 21:34:38 +0000 Subject: [PATCH] Suggest -XRelaxedPolyRec rather than -fglasgow-exts in an error message --- compiler/typecheck/TcUnify.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/typecheck/TcUnify.lhs b/compiler/typecheck/TcUnify.lhs index d7282b6..1aa0bf6 100644 --- 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 } -- 1.7.10.4