summaryrefslogtreecommitdiff
path: root/compiler/GHC/Linker
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2022-09-06 17:14:41 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-09-07 16:43:58 -0400
commit7918265d53db963bfd3dd529b1063fb844549733 (patch)
tree7c4743e2874ceb7bb1292e26fe4fac3f80572194 /compiler/GHC/Linker
parentee1cfaa990205dc96148ed20c2d6560b4808b0b7 (diff)
downloadhaskell-7918265d53db963bfd3dd529b1063fb844549733.tar.gz
Remove Outputable Char instance
Use 'text' instead of 'ppr'. Using 'ppr' on the list "hello" rendered as "h,e,l,l,o".
Diffstat (limited to 'compiler/GHC/Linker')
-rw-r--r--compiler/GHC/Linker/Types.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Linker/Types.hs b/compiler/GHC/Linker/Types.hs
index ac01f35e33..25df199b0f 100644
--- a/compiler/GHC/Linker/Types.hs
+++ b/compiler/GHC/Linker/Types.hs
@@ -244,7 +244,7 @@ data LibrarySpec
| Framework String -- Only used for darwin, but does no harm
instance Outputable LibrarySpec where
- ppr (Objects objs) = text "Objects" <+> ppr objs
+ ppr (Objects objs) = text "Objects" <+> ppr (map text objs)
ppr (Archive a) = text "Archive" <+> text a
ppr (DLL s) = text "DLL" <+> text s
ppr (DLLPath f) = text "DLLPath" <+> text f