-
Notifications
You must be signed in to change notification settings - Fork 118
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
Collect reverse dependencies #802
Closed
Closed
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
4bf8dbb
Collect reverse dependencies
pepeiborra 7cd0112
don't use return
pepeiborra c150aea
backwards compat.
pepeiborra 7b39567
redundant pragma
pepeiborra e864c62
export
pepeiborra 7e56674
alwaysRerun
pepeiborra 9a85eaa
Add SCC pragmas, needed because not exported
pepeiborra 7f2d282
clarify error call
pepeiborra d5693f8
Unbreak early cutoff
pepeiborra 1867be0
Add some more comments
pepeiborra d4b49f6
compatibility with older base
pepeiborra 5c8c2a8
Masking async exceptions
pepeiborra 6649576
redundant import
pepeiborra c3983fa
add more diagnostics
pepeiborra 3d47a41
fix another bug
pepeiborra ba0fbe1
avoid copying Result records
pepeiborra 32a4f6c
do not mark AlwaysRerun as dirty by default
pepeiborra d01c40c
Existential wrapper for ShakeValue
pepeiborra 0dfbd0a
fix typo
pepeiborra 834a764
microopt: store the RDeps in an IORef
pepeiborra d357f9f
use getResult
pepeiborra ee46bc2
Add stateful dirty set to keep track across runs
pepeiborra 67d2501
Increase diagnostic output
pepeiborra 0f29380
mask until the dirty set is updated
pepeiborra 52ed87e
redundant import
pepeiborra e0ee243
comments
pepeiborra 4270b2e
Store the reverse dependencies in an Ids array
pepeiborra 0313892
imports
pepeiborra e6c0199
Compat. with GHC 8.0
pepeiborra 6669768
shakeReverseDependencies
pepeiborra 0a7ce83
Special handling of alwaysRerun
pepeiborra ec620ac
Visit only the dirty dependencies
pepeiborra 35cdf3a
fix imports
pepeiborra File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't find the caller where
Just
value is used. Am I missing something?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an external API. See for example how it is used in HLS:
https://github.com/pepeiborra/ide/blob/keysChanged/ghcide/src/Development/IDE/Core/Shake.hs#L758