File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -131,8 +131,7 @@ let tmLemma (nm : ident) ?poly:(poly=false)(ty : term) : kername tm =
131131 let cinfo = Declare.CInfo. make ~name: nm ~typ: cty () in
132132 let info = Declare.Info. make ~poly ~kind () in
133133 (* This should register properly with the interpretation extension *)
134- let pm, _ = Declare.Obls. add_definition ~pm: st ~cinfo ~info ~body: c ~uctx: ctx ~obl_hook ~opaque: false obls in
135- pm
134+ Declare.Obls. add_definition ~pm: st ~cinfo ~info ~body: c ~uctx: ctx ~obl_hook ~opaque: false obls
136135
137136let tmFreshName (nm : ident ) : ident tm =
138137 fun ~st env evd success _fail ->
Original file line number Diff line number Diff line change @@ -446,8 +446,7 @@ let rec run_template_program_rec ~poly ?(intactic=false) (k : Constr.t Plugin_co
446446 k ~st: pm env evm (EConstr. to_constr evm t)) in (* todo better *)
447447 let cinfo = Declare.CInfo. make ~name: ident ~typ: cty () in
448448 let info = Declare.Info. make ~poly ~kind () in
449- let pm, _ = Declare.Obls. add_definition ~pm: st ~cinfo ~info ~body: c ~uctx ~obl_hook ~opaque: false obls in
450- pm
449+ Declare.Obls. add_definition ~pm: st ~cinfo ~info ~body: c ~uctx ~obl_hook ~opaque: false obls
451450
452451 | TmQuote trm ->
453452 (* user should do the reduction (using tmEval) if they want *)
You can’t perform that action at this time.
0 commit comments