File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ import Control.Concurrent.Async (concurrently)
6666import Control.Concurrent.Strict
6767import Control.DeepSeq
6868import Control.Exception.Safe
69+ import Control.Exception (evaluate )
6970import Control.Monad.Extra
7071import Control.Monad.Reader
7172import Control.Monad.State
@@ -824,7 +825,8 @@ ghcSessionDepsDefinition fullModSummary GhcSessionDepsConfig{..} env file = do
824825#endif
825826 nubOrdOn ms_mod (ms : concatMap mgModSummaries mgs)
826827#endif
827- pure $ mkModuleGraph module_graph_nodes
828+ liftIO $ evaluate $ liftRnf rwhnf module_graph_nodes
829+ return $ mkModuleGraph module_graph_nodes
828830 session' <- liftIO $ mergeEnvs hsc mg ms inLoadOrder depSessions
829831
830832-- Here we avoid a call to to `newHscEnvEqWithImportPaths`, which creates a new
You can’t perform that action at this time.
0 commit comments