revert transitive report_untracked_read change

This commit is contained in:
Niko Matsakis 2019-01-04 08:39:13 -05:00
parent a2198f1f8a
commit f5871e4c2f
2 changed files with 2 additions and 6 deletions

View file

@ -276,10 +276,6 @@ where
local_state.query_stack.pop().unwrap() local_state.query_stack.pop().unwrap()
}; };
// Transitively propagete untracked.
if subqueries.is_none() {
self.report_untracked_read()
}
ComputedQueryResult { ComputedQueryResult {
value, value,

View file

@ -67,7 +67,7 @@ fn revalidate() {
// will not (still 0, as 1/2 = 0) // will not (still 0, as 1/2 = 0)
query.salsa_runtime().next_revision(); query.salsa_runtime().next_revision();
query.memoized2(); query.memoized2();
query.assert_log(&["Memoized2 invoked", "Memoized1 invoked", "Volatile invoked"]); query.assert_log(&["Memoized1 invoked", "Volatile invoked"]);
query.memoized2(); query.memoized2();
query.assert_log(&[]); query.assert_log(&[]);
@ -77,7 +77,7 @@ fn revalidate() {
query.salsa_runtime().next_revision(); query.salsa_runtime().next_revision();
query.memoized2(); query.memoized2();
query.assert_log(&["Memoized2 invoked", "Memoized1 invoked", "Volatile invoked"]); query.assert_log(&["Memoized1 invoked", "Volatile invoked", "Memoized2 invoked"]);
query.memoized2(); query.memoized2();
query.assert_log(&[]); query.assert_log(&[]);