]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/ng_cic_content/interpretations.ml
- ng_refiner:
[helm.git] / matita / components / ng_cic_content / interpretations.ml
index 741cfa64043e919c5b87b2331604da0012a7176c..e2c8c76d0c53a4286b8fca9643507f00dacbcc69 100644 (file)
@@ -639,13 +639,13 @@ let nmap_obj0 status ~idref (_, _, metasenv, subst, kind) =
       n, is_ind, ty, List.map (build_constractor lno context) cl
    in
    match kind with
-      | NCic.Constant (_, n, xbo, ty, (_, flavour, pragma)) ->
+      | NCic.Constant (_, n, xbo, ty, attrs) ->
         let ty = nast_of_cic ~context:[] ty in
          let xbo = match xbo with 
            | Some bo -> Some (nast_of_cic ~context:[] bo)
            | None    -> None
         in
-        N.Theorem (flavour, n, ty, xbo, pragma)
+        N.Theorem (n, ty, xbo, attrs)
       | NCic.Inductive (is_ind, lno, itl, (_, `Regular)) ->      
          let captures, context = build_captures lno itl in
         N.Inductive (captures, List.map (build_inductive is_ind lno context) itl)