File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -760,9 +760,10 @@ ghcSessionDepsDefinition fullModSummary GhcSessionDepsConfig{..} env file = do
760
760
depSessions <- map hscEnv <$> uses_ (GhcSessionDeps_ fullModSummary) deps
761
761
ifaces <- uses_ GetModIface deps
762
762
let inLoadOrder = map (\ HiFileResult {.. } -> HomeModInfo hirModIface hirModDetails emptyHomeModInfoLinkable) ifaces
763
+ de <- useWithSeparateFingerprintRule_ GetModuleGraphTransDepsFingerprints GetModuleGraph file
763
764
mg <- do
764
765
if fullModuleGraph
765
- then depModuleGraph <$> useWithSeparateFingerprintRule_ GetModuleGraphTransDepsFingerprints GetModuleGraph file
766
+ then return $ depModuleGraph de
766
767
else do
767
768
let mgs = map hsc_mod_graph depSessions
768
769
-- On GHC 9.4+, the module graph contains not only ModSummary's but each `ModuleNode` in the graph
@@ -775,7 +776,6 @@ ghcSessionDepsDefinition fullModSummary GhcSessionDepsConfig{..} env file = do
775
776
nubOrdOn mkNodeKey (ModuleNode final_deps ms : concatMap mgModSummaries' mgs)
776
777
liftIO $ evaluate $ liftRnf rwhnf module_graph_nodes
777
778
return $ mkModuleGraph module_graph_nodes
778
- de <- useWithSeparateFingerprintRule_ GetModuleGraphTransDepsFingerprints GetModuleGraph file
779
779
session' <- liftIO $ mergeEnvs hsc mg de ms inLoadOrder depSessions
780
780
781
781
-- Here we avoid a call to to `newHscEnvEqWithImportPaths`, which creates a new
You can’t perform that action at this time.
0 commit comments