-
Notifications
You must be signed in to change notification settings - Fork 824
Add a version of TryGetRecentCheckResultsForFile with project snapshot #16720
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
Merged
psfinaki
merged 31 commits into
dotnet:main
from
dawedawe:add_trygetrecentcheckresultsforfile_with_snapshot
Feb 23, 2024
Merged
Changes from 23 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
a684cf7
First stab at adding a version of TryGetRecentCheckResultsForFile tha…
dawedawe d7c9258
use version type without defaultof<_> = null
dawedawe cdcff87
take sourcetext out of project snapshot, kind of forces us to an asyn…
dawedawe 0672b64
format
dawedawe 0a13fa5
- reuse ParseAndCheckFileInProject cache for TryGetRecentCheckResults…
dawedawe fa6cfd4
format
dawedawe 37c2d74
merge main
dawedawe d98542e
cleanup
dawedawe 516ab7c
use a new LruCache member GetAll to get rid of the dummy version
dawedawe 9d735a4
cleanup
dawedawe c089ed4
Merge branch 'main' into add_trygetrecentcheckresultsforfile_with_sna…
dawedawe a5687aa
Merge branch 'main' into add_trygetrecentcheckresultsforfile_with_sna…
dawedawe 7d6a643
Update src/Compiler/Service/TransparentCompiler.fs
dawedawe c7cc1b2
unify key creation
dawedawe 52bd57a
just use ProjectSnapShot.FileKey
dawedawe 60a2a83
to have it on record, push a version with "f.Version |> Md5Hasher.toS…
dawedawe aadb0be
use FileKeyWithExtraFileSnapshotVersion for the ParseAndCheckFileInPr…
dawedawe c85b5f0
replace FileSnapShot after edit in Test
dawedawe 1d29a2d
add CustomOperation tryGetRecentCheckResults for tests
dawedawe 3e18bf8
Merge branch 'main' into add_trygetrecentcheckresultsforfile_with_sna…
dawedawe 846e07a
- Make API non-async and don't return hash
dawedawe fa3844f
better fix for commandLineOptions order
dawedawe ec88310
Update src/Compiler/Service/FSharpProjectSnapshot.fs
dawedawe 96c43b2
Update tests/FSharp.Compiler.ComponentTests/FSharpChecker/Transparent…
dawedawe fafa846
Update tests/FSharp.Compiler.ComponentTests/FSharpChecker/Transparent…
dawedawe c4e8ccf
fix version predicate
dawedawe acb7bf2
let LruCache.GetAll(key: 'TKey) return a seq instead of a list
dawedawe 9f6e7fa
compare signatures in CustomOperation tryGetRecentCheckResults to tig…
dawedawe 0dcdfc3
Merge branch 'main' into add_trygetrecentcheckresultsforfile_with_sna…
dawedawe c72df2b
kick the CI
dawedawe 23e1704
Revert "kick the CI"
dawedawe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.