aboutsummaryrefslogtreecommitdiff
path: root/pretyping/inductiveops.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-06-18 20:07:02 +0200
committerPierre-Marie Pédrot2016-06-18 20:07:02 +0200
commitb2495b2326083776f9b15355acac77cde73545e1 (patch)
treed030b2e5fbd6fe9c7bba68e5fb80d2546ab96f92 /pretyping/inductiveops.ml
parent561dbba4ce47aa1920b27a6fa3ea1fdb03835557 (diff)
parent371d69b334837c51d0dc998ddefbd072ac8dde2f (diff)
Merge PR# 169: Local type-in-type flag.
Diffstat (limited to 'pretyping/inductiveops.ml')
-rw-r--r--pretyping/inductiveops.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/pretyping/inductiveops.ml b/pretyping/inductiveops.ml
index 1d77204543..403dcfd1a3 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:Declareops.safe_flags e cofix
+ Inductive.check_cofix e cofix
| Fix (_,(_,_,_) as fix) ->
- Inductive.check_fix ~flags:Declareops.safe_flags e fix
+ Inductive.check_fix e fix
| _ -> ()
in
let rec iter env c =