diff options
Diffstat (limited to 'compiler/GHC/Tc/Utils/Monad.hs')
-rw-r--r-- | compiler/GHC/Tc/Utils/Monad.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Tc/Utils/Monad.hs b/compiler/GHC/Tc/Utils/Monad.hs index a3c087c4da..873c9b9fd2 100644 --- a/compiler/GHC/Tc/Utils/Monad.hs +++ b/compiler/GHC/Tc/Utils/Monad.hs @@ -257,6 +257,7 @@ initTc hsc_env hsc_src keep_rn_syntax mod loc do_this th_coreplugins_var <- newIORef [] ; th_state_var <- newIORef Map.empty ; th_remote_state_var <- newIORef Nothing ; + th_docs_var <- newIORef Map.empty ; let { -- bangs to avoid leaking the env (#19356) !dflags = hsc_dflags hsc_env ; @@ -284,6 +285,7 @@ initTc hsc_env hsc_src keep_rn_syntax mod loc do_this tcg_th_coreplugins = th_coreplugins_var, tcg_th_state = th_state_var, tcg_th_remote_state = th_remote_state_var, + tcg_th_docs = th_docs_var, tcg_mod = mod, tcg_semantic_mod = homeModuleInstantiation home_unit mod, |