remove Option wrapper from cached_query

This commit is contained in:
Mark Thom
2018-12-10 21:21:15 -07:00
parent a4406f784a
commit 226bb7f9ed
4 changed files with 16 additions and 23 deletions

View File

@@ -230,7 +230,7 @@ impl MachineState {
let code = vec![call_clause!(ClauseType::Hook(hook), 2, 0, true)];
code_repo.cached_query = Some(code);
code_repo.cached_query = code;
self.run_query(indices, policies, code_repo, &AllocVarDict::new(), &mut HeapVarDict::new());
if self.fail {