Skip to content

Commit

Permalink
Strictness for !fullModuleGraph
Browse files Browse the repository at this point in the history
  • Loading branch information
wz1000 committed Dec 26, 2022
1 parent 580795d commit 299795a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ghcide/src/Development/IDE/Core/Rules.hs
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,8 @@ ghcSessionDepsDefinition fullModSummary GhcSessionDepsConfig{..} env file = do
#endif
nubOrdOn ms_mod (ms : concatMap mgModSummaries mgs)
#endif
pure $ mkModuleGraph module_graph_nodes
evaluate $ liftRnf rwhnf module_graph_nodes
return $ mkModuleGraph module_graph_nodes
session' <- liftIO $ mergeEnvs hsc mg ms inLoadOrder depSessions

Just <$> liftIO (newHscEnvEqWithImportPaths (envImportPaths env) session' [])
Expand Down

0 comments on commit 299795a

Please sign in to comment.