X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_proof_checking%2FcicEnvironment.ml;h=c111acd6cf3b75d37c7301a0a90919b02051a2c9;hb=e6b28085c97ae7b9bd3f3262b105f6b84f42b047;hp=1f2c6be0e1704662c2c92fa46c51eb43a118c004;hpb=6857e22b8a58162893119f7747c5848031fd59ce;p=helm.git 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 () =