Fix the bug part of Trac #1930
[ghc-hetmet.git] / compiler / typecheck / TcDeriv.lhs
index e4d66a6..dc9bf3e 100644 (file)
@@ -537,7 +537,7 @@ tcLookupFamInstExact tycon tys
 famInstNotFound :: TyCon -> [Type] -> TcM a
 famInstNotFound tycon tys 
   = failWithTc (ptext (sLit "No family instance for")
-                       <+> quotes (pprTypeApp tycon (ppr tycon) tys))
+                       <+> quotes (pprTypeApp tycon tys))
 \end{code}