summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-08-10 10:36:30 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-08-10 15:01:58 -0400
commit7bff8bf527d2b4166f4d1d4b397810cc4f8bc154 (patch)
tree4a65f18369c5d0048670b5bb1f4480fde1ea598a /compiler
parent92b0037b3e183b1fc2953286f81a7125a0a1accc (diff)
downloadhaskell-7bff8bf527d2b4166f4d1d4b397810cc4f8bc154.tar.gz
Fix pprDeps
Copy-paste error in 38faeea1a94072ffd9f459d9fe570f06bc1da84a
Diffstat (limited to 'compiler')
-rw-r--r--compiler/GHC/Iface/Load.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/GHC/Iface/Load.hs b/compiler/GHC/Iface/Load.hs
index 157c26e49e..f4ac97f9af 100644
--- a/compiler/GHC/Iface/Load.hs
+++ b/compiler/GHC/Iface/Load.hs
@@ -1193,7 +1193,9 @@ pprDeps unit_state (Deps { dep_direct_mods = dmods
vcat [text "direct module dependencies:" <+> fsep (map ppr_mod dmods),
text "boot module dependencies:" <+> fsep (map ppr bmods),
text "direct package dependencies:" <+> fsep (map ppr_pkg pkgs),
- if null tps then empty else text "trusted package dependencies:" <+> fsep (map ppr_pkg pkgs),
+ if null tps
+ then empty
+ else text "trusted package dependencies:" <+> fsep (map ppr_pkg tps),
text "orphans:" <+> fsep (map ppr orphs),
text "family instance modules:" <+> fsep (map ppr finsts)
]