diff options
Diffstat (limited to 'pretyping/inductiveops.ml')
-rw-r--r-- | pretyping/inductiveops.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pretyping/inductiveops.ml b/pretyping/inductiveops.ml index 0b488308a..1d7720454 100644 --- a/pretyping/inductiveops.ml +++ b/pretyping/inductiveops.ml @@ -592,9 +592,9 @@ let type_of_projection_knowing_arg env sigma p c ty = let control_only_guard env c = let check_fix_cofix e c = match kind_of_term c with | CoFix (_,(_,_,_) as cofix) -> - Inductive.check_cofix ~flags:{check_guarded=true} e cofix + Inductive.check_cofix ~flags:Declareops.safe_flags e cofix | Fix (_,(_,_,_) as fix) -> - Inductive.check_fix ~flags:{check_guarded=true} e fix + Inductive.check_fix ~flags:Declareops.safe_flags e fix | _ -> () in let rec iter env c = |