Skip to content
Snippets Groups Projects
Commit 7cc79fc3 authored by Gergő Érdi's avatar Gergő Érdi
Browse files

Use prefix notation in pprIfaceDecl for IfaceIds

parent a819a19d
No related branches found
No related tags found
No related merge requests found
......@@ -1047,7 +1047,7 @@ instance Outputable IfaceDecl where
pprIfaceDecl :: IfaceDecl -> SDoc
pprIfaceDecl (IfaceId {ifName = var, ifType = ty,
ifIdDetails = details, ifIdInfo = info})
= sep [ ppr var <+> dcolon <+> ppr ty,
= sep [ pprPrefixOcc var <+> dcolon <+> ppr ty,
nest 2 (ppr details),
nest 2 (ppr info) ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment