summaryrefslogtreecommitdiff
path: root/compiler/GHC/Tc/Gen/Splice.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-06-15 14:37:19 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-06-15 14:39:08 +0100
commit8cf400096013a00e8dee4401a582769fdf0044f5 (patch)
treebc328101abfd1521776ac58079232c9501cb685f /compiler/GHC/Tc/Gen/Splice.hs
parent127e8cbb3529937b4c3e9ea762ae885d92de6d8d (diff)
downloadhaskell-wip/diagnostics-context.tar.gz
diagnostics: Allow configuration at runtime (setup)wip/diagnostics-context
Ticket #21722
Diffstat (limited to 'compiler/GHC/Tc/Gen/Splice.hs')
-rw-r--r--compiler/GHC/Tc/Gen/Splice.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Tc/Gen/Splice.hs b/compiler/GHC/Tc/Gen/Splice.hs
index 4c6279a6d9..cc152a86b8 100644
--- a/compiler/GHC/Tc/Gen/Splice.hs
+++ b/compiler/GHC/Tc/Gen/Splice.hs
@@ -1224,7 +1224,7 @@ runMeta' show_code ppr_hs run_and_convert expr
-- cases.
; logger <- getLogger
; diag_opts <- initDiagOpts <$> getDynFlags
- ; liftIO $ printMessages logger diag_opts ds_msgs
+ ; liftIO $ printMessages logger () diag_opts ds_msgs
; ds_expr <- case mb_ds_expr of
Nothing -> failM -- Case (a) from Note [Errors in desugaring a splice]