Skip to content

Commit 7d9b482

Browse files
committed
fix use of GetModSummaryWithoutTimestamps
1 parent 735e152 commit 7d9b482

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,8 @@ ghcSessionDepsDefinition GhcSessionDepsConfig{..} env file = do
702702
Nothing -> return Nothing
703703
Just deps -> do
704704
when checkForImportCycles $ void $ uses_ ReportImportCycles deps
705-
ms:mss <- map msrModSummary <$> uses_ GetModSummaryWithoutTimestamps (file:deps)
705+
ms <- msrModSummary <$> use_ GetModSummaryWithoutTimestamps file
706+
mss <- map msrModSummary <$> uses_ GetModSummary deps
706707

707708
depSessions <- map hscEnv <$> uses_ GhcSessionDeps deps
708709
let uses_th_qq =

0 commit comments

Comments
 (0)