]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/applyTransformation.ml
- applyTransformation: bugfix in the rendering of records
[helm.git] / helm / software / matita / applyTransformation.ml
index f5f279e73dd55d6c819083562cfc6d16c39bdc64..5ee48f3da7f100815d7a151e3621c3b2b4467de4 100644 (file)
@@ -235,7 +235,8 @@ let txt_of_cic_object
           ~map_unicode_to_tex ~term_pp ~lazy_term_pp ~obj_pp
      in
      let aux = function
-       | G.Executable (_, G.Command (_, G.Obj (_, N.Inductive _))) as stm
+       | G.Executable (_, G.Command (_, G.Obj (_, N.Inductive _)))
+       | G.Executable (_, G.Command (_, G.Obj (_, N.Record _))) as stm
              ->           
           let hc = !Acic2content.hide_coercions in
           if List.mem G.IPCoercions params then 
@@ -245,7 +246,7 @@ let txt_of_cic_object
           enable_notations true;
           Acic2content.hide_coercions := hc;
           str
-(* FG: we disable notation for Inductive to avoid recursive notation *) 
+(* FG: we disable notation for inductive types to avoid recursive notation *) 
        | G.Executable (_, G.Tactic _) as stm -> 
           let hc = !Acic2content.hide_coercions in
           Acic2content.hide_coercions := false;