diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-08-10 10:36:30 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-08-10 15:01:58 -0400 |
commit | 7bff8bf527d2b4166f4d1d4b397810cc4f8bc154 (patch) | |
tree | 4a65f18369c5d0048670b5bb1f4480fde1ea598a | |
parent | 92b0037b3e183b1fc2953286f81a7125a0a1accc (diff) | |
download | haskell-7bff8bf527d2b4166f4d1d4b397810cc4f8bc154.tar.gz |
Fix pprDeps
Copy-paste error in 38faeea1a94072ffd9f459d9fe570f06bc1da84a
-rw-r--r-- | compiler/GHC/Iface/Load.hs | 4 | ||||
-rw-r--r-- | testsuite/tests/safeHaskell/check/pkg01/safePkg01.stdout | 2 |
2 files changed, 4 insertions, 2 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) ] diff --git a/testsuite/tests/safeHaskell/check/pkg01/safePkg01.stdout b/testsuite/tests/safeHaskell/check/pkg01/safePkg01.stdout index fea0257b7d..ab1e0ae5af 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/safePkg01.stdout +++ b/testsuite/tests/safeHaskell/check/pkg01/safePkg01.stdout @@ -38,7 +38,7 @@ trusted: safe require own pkg trusted: False M_SafePkg8 -trusted package dependencies: base-4.16.0.0 bytestring-0.11.1.0 +trusted package dependencies: bytestring-0.11.1.0 trusted: trustworthy require own pkg trusted: False |