diff options
| author | Pierre-Marie Pédrot | 2016-06-16 17:58:36 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2016-06-16 17:58:36 +0200 |
| commit | 1a36cf5fd0a3d05255df8d913745aa8c7e19b99c (patch) | |
| tree | 010ef6230603cb3beb91e9058fe0e1adb733c5d6 /pretyping/inductiveops.ml | |
| parent | 69ed6089d7ed778e37f5442f57ef7693f73ca802 (diff) | |
| parent | 0e2189a7a070dd356d5e549392d35d9d07b05058 (diff) | |
Small factorization in the typing flags of the kernel.
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 0b488308a1..1d77204543 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 = |
