X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcTyFuns.lhs;h=4e3f72835bc474af0595a75bf296434d5b56a9da;hb=eb731f1519b868fa9686f2a56280dd1aaf8edc9d;hp=cb0eeae5d06656f89e89a01309a4127b470f345e;hpb=1bc34e903f0dcd9ea549524d26cd1517b2356dad;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcTyFuns.lhs b/compiler/typecheck/TcTyFuns.lhs index cb0eeae..4e3f728 100644 --- a/compiler/typecheck/TcTyFuns.lhs +++ b/compiler/typecheck/TcTyFuns.lhs @@ -1236,7 +1236,7 @@ ppr_ty env ty -- (ppr_extra env ty) shows extra info about 'ty' ppr_extra :: TidyEnv -> Type -> TcM (TidyEnv, SDoc) ppr_extra env (TyVarTy tv) - | isSkolemTyVar tv || isSigTyVar tv + | isTcTyVar tv && (isSkolemTyVar tv || isSigTyVar tv) = return (env1, pprSkolTvBinding tv1) where (env1, tv1) = tidySkolemTyVar env tv