aboutsummaryrefslogtreecommitdiff
path: root/vernac/assumptions.ml
diff options
context:
space:
mode:
Diffstat (limited to 'vernac/assumptions.ml')
-rw-r--r--vernac/assumptions.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/assumptions.ml b/vernac/assumptions.ml
index ab341e4ab8..cbdc84e073 100644
--- a/vernac/assumptions.ml
+++ b/vernac/assumptions.ml
@@ -329,7 +329,7 @@ let assumptions ?(add_opaque=false) ?(add_transparent=false) st gr t =
accu
| IndRef (m,_) | ConstructRef ((m,_),_) ->
let mind = lookup_mind m in
- if mind.mind_typing_flags.check_guarded then
+ if mind.mind_typing_flags.check_positive then
accu
else
let l = try GlobRef.Map_env.find obj ax2ty with Not_found -> [] in