From: Wilmer Ricciotti Date: Thu, 20 Jan 2011 13:41:41 +0000 (+0000) Subject: Bug fix for generation of elimination principles. X-Git-Tag: make_still_working~2586 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=a122a2e7980db0caad0141764440a970682737c3;p=helm.git Bug fix for generation of elimination principles. --- diff --git a/helm/software/components/ng_tactics/nCicElim.ml b/helm/software/components/ng_tactics/nCicElim.ml index 4d32c197d..359d93bbd 100644 --- a/helm/software/components/ng_tactics/nCicElim.ml +++ b/helm/software/components/ng_tactics/nCicElim.ml @@ -116,7 +116,7 @@ let mk_elim uri leftno it (outsort,suffix) pragma = ) cl in let branches, branch_args = List.split branches_with_args in - let bo = CicNotationPt.Case (rec_arg,Some (ind_name,None),None,branches) in + let bo = CicNotationPt.Case (rec_arg,Some (ind_name,None),Some p_name,branches) in let final_params = List.map (function name -> name, None) params @ [p_name,Some p_ty] @