diff options
| author | Pierre-Marie Pédrot | 2019-02-13 10:41:11 +0100 |
|---|---|---|
| committer | GitHub | 2019-02-13 10:41:11 +0100 |
| commit | 30eaa6490f1b3d6f66f397e82a8126d0ff197f4f (patch) | |
| tree | 99f3a46374bdecb25f16bd1109f6d8e690071841 | |
| parent | 2216604fb42a4fe2013e25d95e0c6a5f715db287 (diff) | |
| parent | 67cff8c545a25e7fa1a29b08d41fc64a7278508b (diff) | |
Merge pull request coq/ltac2#92 from ejgallego/proofview+proof_info
[coq] Adapt to coq/coq#9173
| -rw-r--r-- | src/dune | 1 | ||||
| -rw-r--r-- | src/tac2tactics.ml | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,7 @@ (name ltac2) (public_name coq.plugins.ltac2) (modules_without_implementation tac2expr tac2qexpr tac2types) + (flags :standard -w -50) (libraries coq.plugins.firstorder)) (rule diff --git a/src/tac2tactics.ml b/src/tac2tactics.ml index bc92ab43a8..059a1babd7 100644 --- a/src/tac2tactics.ml +++ b/src/tac2tactics.ml @@ -29,7 +29,8 @@ let tactic_infer_flags with_evar = { (** FIXME: export a better interface in Tactics *) let delayed_of_tactic tac env sigma = let _, pv = Proofview.init sigma [] in - let c, pv, _, _ = Proofview.apply env tac pv in + let name, poly = Id.of_string "ltac2_delayed", false in + let c, pv, _, _ = Proofview.apply ~name ~poly env tac pv in (sigma, c) let delayed_of_thunk r tac env sigma = |
