From: Enrico Tassi Date: Tue, 16 Jun 2009 21:57:36 +0000 (+0000) Subject: avoid fixing non-recursive terms X-Git-Tag: make_still_working~3862 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=8a119afd68f41a644904de45357b9b4ce441d7ee;p=helm.git avoid fixing non-recursive terms --- diff --git a/helm/software/components/grafite_engine/grafiteEngine.ml b/helm/software/components/grafite_engine/grafiteEngine.ml index 1a88b0be1..98bfef9d6 100644 --- a/helm/software/components/grafite_engine/grafiteEngine.ml +++ b/helm/software/components/grafite_engine/grafiteEngine.ml @@ -814,7 +814,12 @@ let rec eval_command = {ec_go = fun ~disambiguate_command opts status | NReference.Decl as s -> s)) | t -> NCicUtils.map (fun _ () -> ()) () fix t in - let obj_kind = NCicUntrusted.map_obj_kind (fix ()) obj_kind in + let obj_kind = + match obj_kind with + | NCic.Fixpoint _ -> + NCicUntrusted.map_obj_kind (fix ()) obj_kind + | _ -> obj_kind + in let obj = uri,height,[],[],obj_kind in NCicTypeChecker.typecheck_obj obj; let timestamp = NCicLibrary.add_obj uri obj in