X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Facic_content%2FcicNotationUtil.ml;h=285047de868b111b2e56317780853a250144d0c2;hb=7d7f729471b4d5ebafa1b915096974e726cc13c6;hp=0aa6b48b32a4936aecfd83d934158b0208079194;hpb=9a0e4f3be9f70662f18d2d3b6dd60ae79fba565b;p=helm.git diff --git a/helm/ocaml/acic_content/cicNotationUtil.ml b/helm/ocaml/acic_content/cicNotationUtil.ml index 0aa6b48b3..285047de8 100644 --- a/helm/ocaml/acic_content/cicNotationUtil.ml +++ b/helm/ocaml/acic_content/cicNotationUtil.ml @@ -364,6 +364,7 @@ let freshen_obj obj = let index = ref 0 in let freshen_term = freshen_term ~index in let freshen_name_ty = List.map (fun (n, t) -> (n, freshen_term t)) in + let freshen_name_ty_b = List.map (fun (n, t, b) -> (n, freshen_term t, b)) in match obj with | CicNotationPt.Inductive (params, indtypes) -> let indtypes = @@ -379,7 +380,7 @@ let freshen_obj obj = CicNotationPt.Theorem (flav, n, freshen_term t, ty_opt) | CicNotationPt.Record (params, n, ty, fields) -> CicNotationPt.Record (freshen_name_ty params, n, freshen_term ty, - freshen_name_ty fields) + freshen_name_ty_b fields) let freshen_term = freshen_term ?index:None