X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FgTopLevel%2Fcic2Xml.ml;fp=helm%2FgTopLevel%2Fcic2Xml.ml;h=6bef2dd439c6ebe5f223649c9f9f101644357745;hb=c313e16a5cc51ef7c4766aaafdf8f681eaf3d762;hp=df460edce8c6fd5bdb42893cae0342818569fbbe;hpb=95e3f864d28d8577da100f1a775d4cd0a38d8882;p=helm.git diff --git a/helm/gTopLevel/cic2Xml.ml b/helm/gTopLevel/cic2Xml.ml index df460edce..6bef2dd43 100644 --- a/helm/gTopLevel/cic2Xml.ml +++ b/helm/gTopLevel/cic2Xml.ml @@ -119,7 +119,8 @@ let print_term ~ids_to_inner_sorts = X.xml_nempty "LAMBDA" ["sort",sort] [< List.fold_left (fun i (id,binder,s) -> - let sort = Hashtbl.find ids_to_inner_sorts id in + let sort = Hashtbl.find ids_to_inner_sorts (Cic2acic.source_id_of_id id) in + let _ = prerr_endline ("AHHHHHHHHHHHHHHHHH" ^ sort) in let attrs = ("id",id)::("type",sort):: match binder with