summaryrefslogtreecommitdiff
path: root/compiler/iface
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-06-03 17:26:21 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2014-06-03 17:26:21 +0100
commitdd9943472d385b55f9baa56780f333a190794bcf (patch)
tree7f5a721a1b498a08fc19504fdb7f1271fcac41a5 /compiler/iface
parentd02cd1a731b0fce3f75d78f872166b1a36006151 (diff)
downloadhaskell-dd9943472d385b55f9baa56780f333a190794bcf.tar.gz
Comments only (related to Trac #7730)
Diffstat (limited to 'compiler/iface')
-rw-r--r--compiler/iface/IfaceSyn.lhs2
1 files changed, 2 insertions, 0 deletions
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,