]> matita.cs.unibo.it Git - helm.git/blobdiff - components/acic_procedural/proceduralOptimizer.ml
Procedural: the statement body and it inner types must satisfy the Barendregt
[helm.git] / components / acic_procedural / proceduralOptimizer.ml
index 9d04c2f91f89d0c78667c50f1c5076c56e333065..1953ae7f1b6a5c385fcdbb6aad65b76740a15a28 100644 (file)
@@ -263,6 +263,7 @@ and opt2_term g c t =
 
 let optimize_obj = function
    | C.Constant (name, Some bo, ty, pars, attrs) ->
+      let bo, ty = H.cic_bc [] bo, H.cic_bc [] ty in 
       let g bo = 
          Printf.eprintf "Optimized : %s\nPost Nodes: %u\n" 
            (Pp.ppterm bo) (I.count_nodes 0 bo);