-
-
Notifications
You must be signed in to change notification settings - Fork 410
Fix hls-graph: phantom dependencies invoke in branching deps (resolve #3423) #4087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 34 commits
b862c6d
f4458a7
03dac25
069f3ed
4614d82
10fa6ee
b4bf796
3953584
89a263e
d09cc33
b4a527c
c8b286a
fd4ab4d
0e73a5c
e08f070
cb4a527
90ebb96
37560e9
8459019
9d33b5a
1ede741
5126c75
1fd122e
fd812cf
e8e88c7
bbe1be6
0bd4a20
c580ff5
888e249
aeeb1be
451e7ce
eee5dc8
cf37253
69d1dad
95a42f0
4a1a52e
af2bdfb
87cfc28
9b72bf0
c3732b1
10d0494
024757c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -144,17 +144,17 @@ data Result = Result { | |
| resultData :: !BS.ByteString | ||
| } | ||
|
|
||
| data ResultDeps = UnknownDeps | AlwaysRerunDeps !KeySet | ResultDeps !KeySet | ||
| data ResultDeps = UnknownDeps | AlwaysRerunDeps ![KeySet] | ResultDeps ![KeySet] | ||
|
||
| deriving (Eq, Show) | ||
|
|
||
| getResultDepsDefault :: KeySet -> ResultDeps -> KeySet | ||
| getResultDepsDefault :: KeySet -> ResultDeps -> [KeySet] | ||
| getResultDepsDefault _ (ResultDeps ids) = ids | ||
| getResultDepsDefault _ (AlwaysRerunDeps ids) = ids | ||
| getResultDepsDefault def UnknownDeps = def | ||
| getResultDepsDefault def UnknownDeps = [def] | ||
|
|
||
| mapResultDeps :: (KeySet -> KeySet) -> ResultDeps -> ResultDeps | ||
| mapResultDeps f (ResultDeps ids) = ResultDeps $ f ids | ||
| mapResultDeps f (AlwaysRerunDeps ids) = AlwaysRerunDeps $ f ids | ||
| mapResultDeps f (ResultDeps ids) = ResultDeps $ fmap f ids | ||
| mapResultDeps f (AlwaysRerunDeps ids) = AlwaysRerunDeps $ fmap f ids | ||
| mapResultDeps _ UnknownDeps = UnknownDeps | ||
|
|
||
| instance Semigroup ResultDeps where | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.