From d922e6065ae8adadf09afbce0f3b2abe72b5bc1c Mon Sep 17 00:00:00 2001 From: Andrea Asperti Date: Fri, 22 Jul 2005 14:33:09 +0000 Subject: [PATCH] CicEnvironment.remove did not remove the object from the unchecked_list. --- helm/ocaml/cic_proof_checking/cicEnvironment.ml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/helm/ocaml/cic_proof_checking/cicEnvironment.ml b/helm/ocaml/cic_proof_checking/cicEnvironment.ml index 1f2c6be0e..c111acd6c 100644 --- a/helm/ocaml/cic_proof_checking/cicEnvironment.ml +++ b/helm/ocaml/cic_proof_checking/cicEnvironment.ml @@ -460,7 +460,11 @@ module Cache : if !frozen_list <> [] then failwith "CicEnvironment.remove while type checking" else - HT.remove cacheOfCookedObjects uri + begin + HT.remove cacheOfCookedObjects uri; + unchecked_list := + List.filter (fun (uri',_) -> not (UriManager.eq uri uri')) !unchecked_list + end ;; let list_all_cooked_uris () = -- 2.39.2