X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Fcic_proof_checking%2FcicReduction.ml;h=213aa2356bd1e3d9940efccdc4420f1e7dd05b2b;hb=d6a96d7ae2a320e390ce60b0ee30feebf9f2ee28;hp=bfba135cf992cb6c44c9cba58364f9f42e9c3f61;hpb=2c31fd0349b612a8dd3fc24046bb1428642cebd5;p=helm.git diff --git a/components/cic_proof_checking/cicReduction.ml b/components/cic_proof_checking/cicReduction.ml index bfba135cf..213aa2356 100644 --- a/components/cic_proof_checking/cicReduction.ml +++ b/components/cic_proof_checking/cicReduction.ml @@ -712,12 +712,12 @@ if List.mem uri params then debug_print (lazy "---- OK2") ; let leng = List.length fl in let new_env = let counter = ref 0 in - let rec build_env e = - if !counter = leng then e + let rec build_env e' = + if !counter = leng then e' else (incr counter ; build_env - ((RS.to_env (k,e,ens,C.Fix (!counter -1, fl),[]))::e)) + ((RS.to_env (k,e,ens,C.Fix (!counter -1, fl),[]))::e')) in build_env e in