File tree 1 file changed +3
-1
lines changed
ghcide/src/Development/IDE/Core
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)
66
66
import Control.Concurrent.Strict
67
67
import Control.DeepSeq
68
68
import Control.Exception.Safe
69
+ import Control.Exception (evaluate )
69
70
import Control.Monad.Extra
70
71
import Control.Monad.Reader
71
72
import Control.Monad.State
@@ -824,7 +825,8 @@ ghcSessionDepsDefinition fullModSummary GhcSessionDepsConfig{..} env file = do
824
825
#endif
825
826
nubOrdOn ms_mod (ms : concatMap mgModSummaries mgs)
826
827
#endif
827
- pure $ mkModuleGraph module_graph_nodes
828
+ liftIO $ evaluate $ liftRnf rwhnf module_graph_nodes
829
+ return $ mkModuleGraph module_graph_nodes
828
830
session' <- liftIO $ mergeEnvs hsc mg ms inLoadOrder depSessions
829
831
830
832
-- Here we avoid a call to to `newHscEnvEqWithImportPaths`, which creates a new
You can’t perform that action at this time.
0 commit comments