Indent an error message
authorsimonpj@microsoft.com <unknown>
Fri, 11 Aug 2006 11:03:47 +0000 (11:03 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 11 Aug 2006 11:03:47 +0000 (11:03 +0000)
compiler/typecheck/TcDeriv.lhs

index 22168fc..601f0de 100644 (file)
@@ -952,7 +952,7 @@ genTaggeryBinds infos
 \begin{code}
 derivingThingErr clas tys tycon tyvars why
   = sep [hsep [ptext SLIT("Can't make a derived instance of"), quotes (ppr pred)],
-        parens why]
+        nest 2 (parens why)]
   where
     pred = mkClassPred clas (tys ++ [mkTyConApp tycon (mkTyVarTys tyvars)])