File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -707,11 +707,8 @@ ghcSessionDepsDefinition file = do
707
707
then uses_ GetModIface deps
708
708
else uses_ GetModIfaceWithoutLinkable deps
709
709
710
- let inLoadOrder = reverse $ map hirHomeMod ifaces
710
+ let inLoadOrder = map hirHomeMod ifaces
711
711
session' <- liftIO $ mergeEnvs hsc mss inLoadOrder depSessions
712
- -- Currently GetDependencies returns things in topological order so A comes before B if A imports B.
713
- -- We need to reverse this as GHC gets very unhappy otherwise and complains about broken interfaces.
714
- -- Long-term we might just want to change the order returned by GetDependencies
715
712
716
713
liftIO $ newHscEnvEqWithImportPaths (envImportPaths env) session' []
717
714
You can’t perform that action at this time.
0 commit comments