X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcDeriv.lhs;h=f9be61f96d81b85695756e3a33f0df8b5a9c16b8;hb=09d0e7d9ca9213c9c51f733dbda38cf8507dfa8d;hp=58db6185f09ed8de4baaf9cf765350bec1364909;hpb=7edaba2692e2c3c47e24d5746b5cf16233bca6e5;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcDeriv.lhs b/compiler/typecheck/TcDeriv.lhs index 58db618..f9be61f 100644 --- a/compiler/typecheck/TcDeriv.lhs +++ b/compiler/typecheck/TcDeriv.lhs @@ -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