Skip to content

Commit

Permalink
Adapt to search_guard, now able to decide late if recursive or corecu…
Browse files Browse the repository at this point in the history
…rsive.
  • Loading branch information
herbelin committed Mar 6, 2024
1 parent 7296932 commit 497abdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/splitting.ml
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ let define_mutual_nested env evd get_prog progs =
in
let names, tys, bodies = nf_fix !evd (names, tys, bodies) in
try
Pretyping.search_guard env (Array.to_list possible_indexes)
(names, tys, bodies)
Option.get (Pretyping.search_guard env (false, Array.to_list possible_indexes)
(names, tys, bodies))
with e ->
user_err_loc ((fst (List.hd progs)).program_loc, CErrors.print e)
in
Expand Down

0 comments on commit 497abdf

Please sign in to comment.