We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e52ceae commit 2314ccdCopy full SHA for 2314ccd
ghcide/src/Development/IDE/Core/Shake.hs
@@ -874,6 +874,9 @@ usesWithStale :: IdeRule k v
874
=> k -> [NormalizedFilePath] -> Action [Maybe (v, PositionMapping)]
875
usesWithStale key files = do
876
_ <- apply (map (Q . (key,)) files)
877
+ -- We don't look at the result of the 'apply' since 'lastValue' will
878
+ -- return the most recent successfully computed value regardless of
879
+ -- whether the rule succeeded or not.
880
mapM (lastValue key) files
881
882
-- | Define a new Rule with early cutoff
0 commit comments