Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions template-rocq/src/quoter.ml
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ struct
| Def cs -> Some cs
| OpaqueDef lc ->
if bypass then
let c, univs = Global.force_proof opaque_access lc in
let c, univs, _ = Global.force_proof opaque_access lc in
match univs with
| Opaqueproof.PrivateMonomorphic () -> Some c
| Opaqueproof.PrivatePolymorphic csts ->
Expand Down Expand Up @@ -677,7 +677,7 @@ struct
| Def cs -> Some (quote_term env evm cs)
| OpaqueDef cs ->
if bypass
then Some (quote_term env evm (fst (Global.force_proof opaque_access cs)))
then Some (quote_term env evm (let (c, _, _) = Global.force_proof opaque_access cs in c))
else None
| Primitive _ -> failwith "Primitive types not supported by TemplateRocq"
| Symbol _ -> failwith "Symbols are not supported by TemplateRocq"
Expand Down
2 changes: 1 addition & 1 deletion template-rocq/src/run_extractable.ml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ let get_constant_body ~opaque_access b =
| Def b -> Some b
| Undef inline -> None
| OpaqueDef pr ->
let proof, _ = Global.force_proof opaque_access pr in
let proof, _, _ = Global.force_proof opaque_access pr in
(* FIXME delayed univs skipped *)
Some proof
| Primitive _ -> failwith "Primitives not supported by TemplateRocq"
Expand Down
Loading