diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2018-01-22 17:35:02 +0100 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2018-02-20 14:44:58 +0100 |
commit | 041ee4822cb247e60df51fa147175f8b16711df1 (patch) | |
tree | 49e61993afab55d44d9642f5dcaebf36fa6cd94b /plugins/ltac/extratactics.ml4 | |
parent | aec63ba9c8f6840d98ba731640a786138d836343 (diff) |
proofview: goals come with a state
Diffstat (limited to 'plugins/ltac/extratactics.ml4')
-rw-r--r-- | plugins/ltac/extratactics.ml4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ltac/extratactics.ml4 b/plugins/ltac/extratactics.ml4 index 286f9d95d..c4b6b6f85 100644 --- a/plugins/ltac/extratactics.ml4 +++ b/plugins/ltac/extratactics.ml4 @@ -973,6 +973,7 @@ TACTIC EXTEND unshelve | [ "unshelve" tactic1(t) ] -> [ Proofview.with_shelf (Tacinterp.tactic_of_value ist t) >>= fun (gls, ()) -> + let gls = List.map Proofview.with_empty_state gls in Proofview.Unsafe.tclGETGOALS >>= fun ogls -> Proofview.Unsafe.tclSETGOALS (gls @ ogls) ] |