Skip to content

Commit 812ace9

Browse files
committed
remove stale comment
1 parent 174b330 commit 812ace9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ghcide/src/Development/IDE/Core/Rules.hs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -707,11 +707,8 @@ ghcSessionDepsDefinition file = do
707707
then uses_ GetModIface deps
708708
else uses_ GetModIfaceWithoutLinkable deps
709709

710-
let inLoadOrder = reverse $ map hirHomeMod ifaces
710+
let inLoadOrder = map hirHomeMod ifaces
711711
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
715712

716713
liftIO $ newHscEnvEqWithImportPaths (envImportPaths env) session' []
717714

0 commit comments

Comments
 (0)