---
 compiler/typecheck/TcInstDcls.lhs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/typecheck/TcInstDcls.lhs 
b/compiler/typecheck/TcInstDcls.lhs
index 64b839c..97b55f4 100644
--- a/compiler/typecheck/TcInstDcls.lhs
+++ b/compiler/typecheck/TcInstDcls.lhs
@@ -836,7 +836,7 @@ mkMethIds sig_fn clas tyvars dfun_ev_vars inst_tys sel_id
             ; inst_sigs <- xoptM Opt_InstanceSigs
             ; if inst_sigs then 
                 checkTc (sig_ty `eqType` local_meth_ty)
-                        (badInstSigErr sel_name sig_ty) 
+                        (badInstSigErr sel_name local_meth_ty) 
               else
                 addErrTc (misplacedInstSig sel_name hs_ty)
             ; return sig_ty }
-- 
1.7.9.3


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to