File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
hls-graph/src/Development/IDE/Graph/Internal Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -137,8 +137,9 @@ isDirty :: Foldable t => Result -> t (a, Result) -> Bool
137
137
isDirty me = any (\ (_,dep) -> resultBuilt me < resultChanged dep)
138
138
139
139
-- | Refresh dependencies for a key and compute the key:
140
- -- The deps refresh is kicking up linearly. If any of the deps are dirty in the process,
141
- -- we jump to the actual computation of the key and shortcut the refreshing the rest of the deps.
140
+ -- The refresh the deps linearly(last computed order of the deps for the key).
141
+ -- If any of the deps is dirty in the process, we jump to the actual computation of the key
142
+ -- and shortcut the refreshing of the rest of the deps.
142
143
-- * If no dirty dependencies and we have evaluated the key previously, then we refresh it in the current thread.
143
144
-- This assumes that the implementation will be a lookup
144
145
-- * Otherwise, we spawn a new thread to refresh the dirty deps (if any) and the key itself
You can’t perform that action at this time.
0 commit comments