diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-08-16 09:41:04 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-08-16 09:41:04 +0200 |
commit | ffd6a20eb807cdd381d511e7b59799495122591d (patch) | |
tree | 814c9fce26132606f89388b25f163b836cf66af9 /vernac | |
parent | 96d53d99d32f7006e553c6772b9c983925fb31f6 (diff) | |
parent | d01e3b07470ab326f5754332ac812f21794721bc (diff) |
Merge PR #841: Timorous fix of bug #5598 on global existing class in sections
Diffstat (limited to 'vernac')
-rw-r--r-- | vernac/obligations.ml | 2 |
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 |