don't return ops with priority 0 when building set for current_op (#1571)

This commit is contained in:
Mark Thom
2022-08-19 23:41:47 -06:00
parent 069e132c0e
commit d4c0277065
3 changed files with 13 additions and 2 deletions

View File

@@ -757,7 +757,6 @@ impl<'a, LS: LoadState<'a>> Loader<'a, LS> {
.map(|code_idx| code_idx.set(old_code_idx));
}
RetractionRecord::AddedIndex(index_key, clause_loc) => {
// WAS: inner_index_locs) => {
if let Some(index_loc) = index_key.switch_on_term_loc() {
let indexing_code = match &mut self.wam_prelude.code[index_loc] {
Instruction::IndexingCode(indexing_code) => indexing_code,