summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Pipeline.hs
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2022-09-06 17:14:41 +0200
committerKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2022-09-06 18:23:04 +0200
commit780ad28f2f064c1e4105b151c184ff1206833695 (patch)
treecc5475103ec5ae7abe0f1e6f4093fcd0d58bdf42 /compiler/GHC/Driver/Pipeline.hs
parent6560d4416ec1dc8a25c842523c7ae83c271b9315 (diff)
downloadhaskell-wip/cleanup-outputable.tar.gz
Remove Outputable Char instancewip/cleanup-outputable
Use 'text' instead of 'ppr'. Using 'ppr' on the list "hello" rendered as "h,e,l,l,o".
Diffstat (limited to 'compiler/GHC/Driver/Pipeline.hs')
-rw-r--r--compiler/GHC/Driver/Pipeline.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Pipeline.hs b/compiler/GHC/Driver/Pipeline.hs
index cd2c3e93be..242887b353 100644
--- a/compiler/GHC/Driver/Pipeline.hs
+++ b/compiler/GHC/Driver/Pipeline.hs
@@ -589,7 +589,7 @@ compileForeign hsc_env lang stub_c = do
-- This should never happen as viaCPipeline should only return `Nothing` when the stop phase is `StopC`.
-- and the same should never happen for asPipeline
-- Future refactoring to not check StopC for this case
- Nothing -> pprPanic "compileForeign" (ppr stub_c)
+ Nothing -> pprPanic "compileForeign" (text stub_c)
Just fp -> return fp
compileEmptyStub :: DynFlags -> HscEnv -> FilePath -> ModLocation -> ModuleName -> IO ()