diff options
| author | Tej Chajed | 2017-03-08 14:57:16 -0500 |
|---|---|---|
| committer | Tej Chajed | 2017-03-29 07:30:58 -0500 |
| commit | c5e6f5ee545ee24541836233a18c0c772077fbdf (patch) | |
| tree | c69570c1ce215118c5cc392801078fa524dfe7bb /stm | |
| parent | 9c80dd80feb1cc2ae6d0dc6e08985d4f51d4f329 (diff) | |
Run non-tactic comands without resilient_command
Diffstat (limited to 'stm')
| -rw-r--r-- | stm/stm.ml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/stm/stm.ml b/stm/stm.ml index f577994ffa..56243b76f9 100644 --- a/stm/stm.ml +++ b/stm/stm.ml @@ -2136,10 +2136,13 @@ let known_state ?(redefine_qed=false) ~cache id = if eff then update_global_env () ), (if eff then `Yes else cache), true | `Cmd { cast = x; ceff = eff } -> (fun () -> - resilient_command reach view.next; - vernac_interp id x; - if eff then update_global_env () - ), (if eff then `Yes else cache), true + (match !Flags.async_proofs_mode with + | Flags.APon | Flags.APonLazy -> + resilient_command reach view.next + | Flags.APoff -> reach view.next); + vernac_interp id x; + if eff then update_global_env () + ), (if eff then `Yes else cache), true | `Fork ((x,_,_,_), None) -> (fun () -> resilient_command reach view.next; vernac_interp id x; |
