gentoo-ebuilds/dev-lang/ghc/files/ghc-9.0.2-verbose-modunusable.patch
hololeap e645f4cc19
dev-lang/ghc: add 9.2.8
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2023-10-23 04:08:45 +01:00

12 lines
572 B
Diff

diff -urN ghc-9.0.2/compiler/GHC/Unit/State.hs ghc-9.0.2-r1/compiler/GHC/Unit/State.hs
--- ghc-9.0.2/compiler/GHC/Unit/State.hs 2021-10-19 05:20:00.000000000 -0600
+++ ghc-9.0.2-r1/compiler/GHC/Unit/State.hs 2022-02-17 01:04:05.117930250 -0700
@@ -194,7 +194,7 @@
instance Outputable ModuleOrigin where
ppr ModHidden = text "hidden module"
- ppr (ModUnusable _) = text "unusable module"
+ ppr (ModUnusable reason) = text "unusable module" $$ ppr reason
ppr (ModOrigin e res rhs f) = sep (punctuate comma (
(case e of
Nothing -> []