aboutsummaryrefslogtreecommitdiffhomepage
path: root/vernac/obligations.ml
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-08-16 09:41:04 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-08-16 09:41:04 +0200
commitffd6a20eb807cdd381d511e7b59799495122591d (patch)
tree814c9fce26132606f89388b25f163b836cf66af9 /vernac/obligations.ml
parent96d53d99d32f7006e553c6772b9c983925fb31f6 (diff)
parentd01e3b07470ab326f5754332ac812f21794721bc (diff)
Merge PR #841: Timorous fix of bug #5598 on global existing class in sections
Diffstat (limited to 'vernac/obligations.ml')
-rw-r--r--vernac/obligations.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/obligations.ml b/vernac/obligations.ml
index 28aeaa725..a4fe49020 100644
--- a/vernac/obligations.ml
+++ b/vernac/obligations.ml
@@ -650,7 +650,7 @@ let declare_obligation prg obl body ty uctx =
let constant = Declare.declare_constant obl.obl_name ~local:true
(DefinitionEntry ce,IsProof Property)
in
- if not opaque then add_hint false prg constant;
+ if not opaque then add_hint (Locality.make_section_locality None) prg constant;
definition_message obl.obl_name;
true, { obl with obl_body =
if poly then