This fixes the following bug: in matita open a file B that depends on A
(that gets loaded in the environment); then switch to A without exiting
matita. It is now impossible to re-compile A.
MatitaMisc.safe_remove (Http_getter.resolve' uri)
with Http_getter_types.Key_not_found _ -> ());
remove_coercion uri;
- ignore (MatitaDb.remove_uri uri))
+ ignore (MatitaDb.remove_uri uri);
+ CicEnvironment.remove_obj uri)
to_remove
val set_proof_aliases :
MatitaTypes.status -> DisambiguateTypes.environment -> MatitaTypes.status
- (* removes the object from DB, Disk, CoercionsDB, getter
+ (* removes the object from DB, Disk, CoercionsDB, CicEnvironment, getter
* asserts the uri is resolved to file:// so it is only for
* user's objects *)
val remove: verbose:bool -> UriManager.uri -> unit