diff options
| author | Emilio Jesus Gallego Arias | 2018-12-05 01:03:51 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-03-27 23:56:18 +0100 |
| commit | 6ac4cfe51abf41c9e3bccb5f760df57258495a86 (patch) | |
| tree | fff08ba32e223fc787154c9387be8d5d0c53ae5d /plugins/derive/derive.ml | |
| parent | 0e905b4934296a09115fc9cb06903ee8fcdf04bf (diff) | |
[plugins] [derive] Adapt to removal of imperative proof state.
Diffstat (limited to 'plugins/derive/derive.ml')
| -rw-r--r-- | plugins/derive/derive.ml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/derive/derive.ml b/plugins/derive/derive.ml index afdbfa1999..4425e41652 100644 --- a/plugins/derive/derive.ml +++ b/plugins/derive/derive.ml @@ -101,8 +101,7 @@ let start_deriving f suchthat lemma = in let terminator = Proof_global.make_terminator terminator in - let () = Proof_global.start_dependent_proof lemma kind goals terminator in - let _ = Proof_global.with_current_proof begin fun _ p -> + let pstate = Proof_global.start_dependent_proof ~ontop:None lemma kind goals terminator in + fst @@ Proof_global.with_current_proof begin fun _ p -> Proof.run_tactic env Proofview.(tclFOCUS 1 2 shelve) p - end in - () + end pstate |
