Present-to-absent check is necessary in assertion removal handler

This commit is contained in:
Tony Garnock-Jones 2018-10-21 13:32:06 +01:00
parent 02181354dd
commit 4ddcdfb6a9
1 changed files with 3 additions and 2 deletions

View File

@ -444,6 +444,7 @@ check followed by zero or more (move, check) pairs.
del_leaf (leafcache, _) v = leafcache -= v
del_handler (bag, f_table) vs =
bag[vs] -= 1
if vs not in bag then
for f in f_table
f "-" vs