X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Fcompiler%2Ftypecheck%2FTcRnTypes.lhs;fp=ghc%2Fcompiler%2Ftypecheck%2FTcRnTypes.lhs;h=2abdfa5f2bbc9aaba5705ab306f49dab2e6dd4fa;hb=bd0d26527ddd4a3d3c853331f27839ab822c8f80;hp=063017e334d2101e4cb3bcf9281c007c112f97a3;hpb=34fa81c4d8054fec0c00f60f7ea11ac4a869285e;p=ghc-hetmet.git diff --git a/ghc/compiler/typecheck/TcRnTypes.lhs b/ghc/compiler/typecheck/TcRnTypes.lhs index 063017e..2abdfa5 100644 --- a/ghc/compiler/typecheck/TcRnTypes.lhs +++ b/ghc/compiler/typecheck/TcRnTypes.lhs @@ -409,9 +409,10 @@ data TcTyThing -- tycons and clases in this recursive group instance Outputable TcTyThing where -- Debugging only - ppr (AGlobal g) = text "AGlobal" <+> ppr g - ppr (ATcId g tl pl) = text "ATcId" <+> ppr g <+> ppr tl <+> ppr pl - ppr (ATyVar tv ty) = text "ATyVar" <+> ppr tv <+> pprParendType ty + ppr (AGlobal g) = ppr g + ppr (ATcId g tl pl) = text "Identifier" <> + ifPprDebug (brackets (ppr g <> comma <> ppr tl <> comma <> ppr pl)) + ppr (ATyVar tv ty) = text "Type variable" <+> quotes (ppr tv) <+> pprParendType ty ppr (AThing k) = text "AThing" <+> ppr k \end{code}