diff options
| author | Pierre-Marie Pédrot | 2018-11-06 18:40:20 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2018-11-06 18:40:20 +0100 |
| commit | 92d1a0c14ef326929b6870541073bcae4d2c895d (patch) | |
| tree | 4e4e722b7d8881ad29d790a4a0dfd24a7e8a4226 /vernac/comProgramFixpoint.ml | |
| parent | f6033667bd9b8069308d4bcba420c4ce0771e44f (diff) | |
| parent | 05336f66483eec4c34f19df937d28b8bdae8749a (diff) | |
Merge PR #8889: Program hook gives back an obligation substitiution
Diffstat (limited to 'vernac/comProgramFixpoint.ml')
| -rw-r--r-- | vernac/comProgramFixpoint.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vernac/comProgramFixpoint.ml b/vernac/comProgramFixpoint.ml index fe8ef1f0e0..3d3d825bd0 100644 --- a/vernac/comProgramFixpoint.ml +++ b/vernac/comProgramFixpoint.ml @@ -193,7 +193,7 @@ let build_wellfounded (recname,pl,n,bl,arityc,body) poly r measure notation = let name = add_suffix recname "_func" in (* XXX: Mutating the evar_map in the hook! *) (* XXX: Likely the sigma is out of date when the hook is called .... *) - let hook sigma _ l gr = + let hook sigma _ _ l gr = let sigma, h_body = Evarutil.new_global sigma gr in let body = it_mkLambda_or_LetIn (mkApp (h_body, [|make|])) binders_rel in let ty = it_mkProd_or_LetIn top_arity binders_rel in @@ -212,7 +212,7 @@ let build_wellfounded (recname,pl,n,bl,arityc,body) poly r measure notation = hook, name, typ else let typ = it_mkProd_or_LetIn top_arity binders_rel in - let hook sigma _ l gr = + let hook sigma _ _ l gr = if Impargs.is_implicit_args () || not (List.is_empty impls) then Impargs.declare_manual_implicits false gr [impls] in hook, recname, typ |
