Use pprSourceTyCon; delete unused tyConOrigHead
[ghc-hetmet.git] / compiler / typecheck / TcDeriv.lhs
index 58db618..f9be61f 100644 (file)
@@ -543,7 +543,7 @@ cond_isProduct (gla_exts, rep_tc)
   | isProductTyCon rep_tc = Nothing
   | otherwise            = Just why
   where
-    why = (pprSourceTyCon rep_tc) <+> 
+    why = quotes (pprSourceTyCon rep_tc) <+> 
          ptext SLIT("has more than one constructor")
 
 cond_typeableOK :: Condition