aboutsummaryrefslogtreecommitdiff
path: root/tactics/hints.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-06-08 16:21:21 +0200
committerPierre-Marie Pédrot2020-06-19 16:02:25 +0200
commit437f86aaa55bbae99742b600bb52a234d75667e5 (patch)
tree296e33f16d93aab1fc733f66cee888d2248b2105 /tactics/hints.ml
parent21b4e41544f03de18d9f5b1bdb93a26b36a97999 (diff)
Remove access to hint section variables.
The only use was seemingly a bug introduced in 0aec9033a by an accidental variable capture. There is indeed no reason that the set of variables of a hint corresponds to the one of the current environment.
Diffstat (limited to 'tactics/hints.ml')
-rw-r--r--tactics/hints.ml1
1 files changed, 0 insertions, 1 deletions
diff --git a/tactics/hints.ml b/tactics/hints.ml
index 78ed81ec37..63ca4b8834 100644
--- a/tactics/hints.ml
+++ b/tactics/hints.ml
@@ -1586,7 +1586,6 @@ struct
let run (h : t) k = run_hint h.code k
let print env sigma (h : t) = pr_hint env sigma h.code
let name (h : t) = h.name
- let secvars (h : t) = h.secvars
let repr (h : t) = h.code.obj
end