diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-02-04 22:38:57 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-03-26 19:00:07 -0400 |
commit | 872a9444df4d38cd5dc0fbb7a249d89596e73ea2 (patch) | |
tree | 01a1ba920dfc7c5470bc2743e3bbc92413e4dd97 /compiler/GHC/Iface/Recomp.hs | |
parent | d930fecb6d241c1eb13c30cf1126132766ff602e (diff) | |
download | haskell-872a9444df4d38cd5dc0fbb7a249d89596e73ea2.tar.gz |
Refactor NameCache
* Make NameCache the mutable one and replace NameCacheUpdater with it
* Remove NameCache related code duplicated into haddock
Bump haddock submodule
Diffstat (limited to 'compiler/GHC/Iface/Recomp.hs')
-rw-r--r-- | compiler/GHC/Iface/Recomp.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Iface/Recomp.hs b/compiler/GHC/Iface/Recomp.hs index ca35ec60fb..e211f221ab 100644 --- a/compiler/GHC/Iface/Recomp.hs +++ b/compiler/GHC/Iface/Recomp.hs @@ -167,7 +167,7 @@ check_old_iface hsc_env mod_summary src_modified maybe_iface loadIface = do let iface_path = msHiFilePath mod_summary - let ncu = mkNameCacheUpdater hsc_env + let ncu = hsc_NC hsc_env read_result <- readIface dflags ncu (ms_mod mod_summary) iface_path case read_result of Failed err -> do |