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 95a42f0 commit 4a1a52eCopy full SHA for 4a1a52e
hls-graph/src/Development/IDE/Graph/Internal/Types.hs
@@ -145,9 +145,10 @@ data Result = Result {
145
resultData :: !BS.ByteString
146
}
147
148
--- some invariant to maintain:
149
--- the ResultDeps need to be stored in reverse order,
150
--- so that we can append to it efficiently
+-- Notice, invariant to maintain:
+-- the ![KeySet] in ResultDeps need to be stored in reverse order,
+-- so that we can append to it efficiently, and we need the ordering
151
+-- so we can do a linear dependency refreshing in refreshDeps.
152
data ResultDeps = UnknownDeps | AlwaysRerunDeps !KeySet | ResultDeps ![KeySet]
153
deriving (Eq, Show)
154
0 commit comments