diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-06-15 14:37:19 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-06-15 14:39:08 +0100 |
commit | 8cf400096013a00e8dee4401a582769fdf0044f5 (patch) | |
tree | bc328101abfd1521776ac58079232c9501cb685f /compiler/GHC/Tc/Gen/Splice.hs | |
parent | 127e8cbb3529937b4c3e9ea762ae885d92de6d8d (diff) | |
download | haskell-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.hs | 2 |
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] |