From dd9943472d385b55f9baa56780f333a190794bcf Mon Sep 17 00:00:00 2001 From: Simon Peyton Jones Date: Tue, 3 Jun 2014 17:26:21 +0100 Subject: Comments only (related to Trac #7730) --- compiler/iface/IfaceSyn.lhs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/iface') diff --git a/compiler/iface/IfaceSyn.lhs b/compiler/iface/IfaceSyn.lhs index 6af5bbefba..79e235925e 100644 --- a/compiler/iface/IfaceSyn.lhs +++ b/compiler/iface/IfaceSyn.lhs @@ -1138,6 +1138,8 @@ isIfaceDataInstance IfNoParent = False isIfaceDataInstance _ = True pprIfaceDecl :: ShowSub -> IfaceDecl -> SDoc +-- NB: pprIfaceDecl is also used for pretty-printing TyThings in GHCi +-- See Note [Pretty-printing TyThings] in PprTyThing pprIfaceDecl ss (IfaceData { ifName = tycon, ifCType = ctype, ifCtxt = context, ifTyVars = tyvars, ifRoles = roles, ifCons = condecls, -- cgit v1.2.1