X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftypecheck%2FInst.lhs;h=6b8a7afbe2a35b662ffd32ae56d589240df88ece;hb=f7ecf7234c224489be8a5e63fced903b655d92ee;hp=4424e98310c7565f158cc68d765570bec9ba8f9b;hpb=9d4c03805bafb6b1e1d47306b6a6c591c998e517;p=ghc-hetmet.git diff --git a/ghc/compiler/typecheck/Inst.lhs b/ghc/compiler/typecheck/Inst.lhs index 4424e98..6b8a7af 100644 --- a/ghc/compiler/typecheck/Inst.lhs +++ b/ghc/compiler/typecheck/Inst.lhs @@ -54,10 +54,10 @@ import Id ( GenId, idType, mkInstId ) import MatchEnv ( lookupMEnv, insertMEnv ) import Name ( mkLocalName, getLocalName, Name ) import Outputable -import PprType ( GenClass, TyCon, GenType, GenTyVar ) +import PprType ( GenClass, TyCon, GenType, GenTyVar, pprParendGenType ) import PprStyle ( PprStyle(..) ) import Pretty -import SpecEnv ( SYN_IE(SpecEnv) ) +import SpecEnv ( SpecEnv ) import SrcLoc ( SrcLoc, mkUnknownSrcLoc ) import Type ( GenType, eqSimpleTy, instantiateTy, isTyVarTy, mkDictTy, splitForAllTy, splitSigmaTy, @@ -364,7 +364,7 @@ ppr_inst sty hdr ppr_orig (LitInst u lit ty orig loc) ppr_inst sty hdr ppr_orig (Dict u clas ty orig loc) = ppHang (ppr_orig orig loc) - 4 (ppCat [ppr sty clas, ppr sty ty, show_uniq sty u]) + 4 (ppCat [ppr sty clas, pprParendGenType sty ty, show_uniq sty u]) ppr_inst sty hdr ppr_orig (Method u id tys rho orig loc) = ppHang (ppr_orig orig loc)