aboutsummaryrefslogtreecommitdiff
path: root/proofs/redexpr.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-10-06 13:55:48 +0200
committerPierre-Marie Pédrot2018-10-06 13:55:48 +0200
commit371566f7619aed79aad55ffed6ee0920b961be6e (patch)
treef5a7f56d5d5e924987ef0970aa0b72ec53aad673 /proofs/redexpr.ml
parent28df7dd06dbea299736f3897ecabd2a6e3fd8e28 (diff)
parent650c65af484c45f4e480252b55d148bcc198be6c (diff)
Merge PR #8555: Remove section paths from kernel names
Diffstat (limited to 'proofs/redexpr.ml')
-rw-r--r--proofs/redexpr.ml4
1 files changed, 1 insertions, 3 deletions
diff --git a/proofs/redexpr.ml b/proofs/redexpr.ml
index 44685d2bbd..1350da65dc 100644
--- a/proofs/redexpr.ml
+++ b/proofs/redexpr.ml
@@ -114,9 +114,7 @@ let classify_strategy (local,_ as obj) =
let disch_ref ref =
match ref with
- EvalConstRef c ->
- let c' = Lib.discharge_con c in
- if c==c' then Some ref else Some (EvalConstRef c')
+ EvalConstRef c -> Some ref
| EvalVarRef id -> if Lib.is_in_section (VarRef id) then None else Some ref
let discharge_strategy (_,(local,obj)) =