From c651385ff47f147dd626c62a26e773c7a0ceabfd Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Wed, 29 Aug 2012 12:09:20 +0000 Subject: [PATCH] (Part of previous commit) --- matita/components/ng_library/nCicLibrary.ml | 12 ++---------- matita/components/ng_library/nCicLibrary.mli | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/matita/components/ng_library/nCicLibrary.ml b/matita/components/ng_library/nCicLibrary.ml index b509ce813..d8901e7cf 100644 --- a/matita/components/ng_library/nCicLibrary.ml +++ b/matita/components/ng_library/nCicLibrary.ml @@ -146,11 +146,10 @@ let init = load_db;; class virtual status = object - inherit NCicExtraction.status + inherit NCic.status val timestamp = (time0 : timestamp) method timestamp = timestamp method set_timestamp v = {< timestamp = v >} - (*CSC: bug here, we are not copying the NCicExtraction part of the status *) end let time_travel0 (sto,ali) = @@ -357,14 +356,7 @@ let add_obj status ((u,_,_,_,_) as orig_obj) = ) il) in local_aliases := references @ !local_aliases; - let status = status#set_timestamp (!storage,!local_aliases) in - (* To test extraction *) - try - ignore (Helm_registry.get "extract_haskell"); - let status,msg = NCicExtraction.haskell_of_obj status orig_obj in - prerr_endline msg; status - with - Helm_registry.Key_not_found _ -> status + status#set_timestamp (!storage,!local_aliases) ;; let add_constraint status u1 u2 = diff --git a/matita/components/ng_library/nCicLibrary.mli b/matita/components/ng_library/nCicLibrary.mli index 3781a47e2..b3275b828 100644 --- a/matita/components/ng_library/nCicLibrary.mli +++ b/matita/components/ng_library/nCicLibrary.mli @@ -18,7 +18,7 @@ type timestamp class virtual status : object ('self) - inherit NCicExtraction.status + inherit NCic.status method timestamp: timestamp method set_timestamp: timestamp -> 'self (*CSC: bug here, we are not copying the NCicExtraction part of the status *) -- 2.39.2