summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2019-06-01 15:08:24 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-10 08:00:16 -0400
commit9bc10993bb300d3712b0f13ec6e28621d75d4204 (patch)
tree41b94a6cd3c28aa76e967334267d8802190ea000 /compiler
parent1a3420cabdcf6d7d90c154681230f1150604c097 (diff)
downloadhaskell-9bc10993bb300d3712b0f13ec6e28621d75d4204.tar.gz
Print role annotations in TemplateHaskell brackets (#16718)
Diffstat (limited to 'compiler')
-rw-r--r--compiler/hsSyn/HsDecls.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/hsSyn/HsDecls.hs b/compiler/hsSyn/HsDecls.hs
index 624d9bc6c3..7adfb01b2d 100644
--- a/compiler/hsSyn/HsDecls.hs
+++ b/compiler/hsSyn/HsDecls.hs
@@ -302,6 +302,7 @@ instance (p ~ GhcPass pass, OutputableBndrId p) => Outputable (HsGroup p) where
if isEmptyValBinds val_decls
then Nothing
else Just (ppr val_decls),
+ ppr_ds (tyClGroupRoleDecls tycl_decls),
ppr_ds (tyClGroupTyClDecls tycl_decls),
ppr_ds (tyClGroupInstDecls tycl_decls),
ppr_ds deriv_decls,