mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-12 16:35:21 +00:00
revert transitive report_untracked_read
change
This commit is contained in:
parent
a2198f1f8a
commit
f5871e4c2f
2 changed files with 2 additions and 6 deletions
|
@ -276,10 +276,6 @@ where
|
|||
|
||||
local_state.query_stack.pop().unwrap()
|
||||
};
|
||||
// Transitively propagete untracked.
|
||||
if subqueries.is_none() {
|
||||
self.report_untracked_read()
|
||||
}
|
||||
|
||||
ComputedQueryResult {
|
||||
value,
|
||||
|
|
|
@ -67,7 +67,7 @@ fn revalidate() {
|
|||
// will not (still 0, as 1/2 = 0)
|
||||
query.salsa_runtime().next_revision();
|
||||
query.memoized2();
|
||||
query.assert_log(&["Memoized2 invoked", "Memoized1 invoked", "Volatile invoked"]);
|
||||
query.assert_log(&["Memoized1 invoked", "Volatile invoked"]);
|
||||
query.memoized2();
|
||||
query.assert_log(&[]);
|
||||
|
||||
|
@ -77,7 +77,7 @@ fn revalidate() {
|
|||
query.salsa_runtime().next_revision();
|
||||
|
||||
query.memoized2();
|
||||
query.assert_log(&["Memoized2 invoked", "Memoized1 invoked", "Volatile invoked"]);
|
||||
query.assert_log(&["Memoized1 invoked", "Volatile invoked", "Memoized2 invoked"]);
|
||||
|
||||
query.memoized2();
|
||||
query.assert_log(&[]);
|
||||
|
|
Loading…
Reference in a new issue