diff options
author | Cyprien Mangin <cyprien.mangin@m4x.org> | 2018-06-14 16:29:19 +0200 |
---|---|---|
committer | Cyprien Mangin <cyprien.mangin@m4x.org> | 2018-06-14 16:29:19 +0200 |
commit | 2a239725f493e643d0f26455293e6ca295f4dc92 (patch) | |
tree | 046ed781a6e67f623da3d0eb88c03ffaee8843cb /plugins/ltac | |
parent | 1098604f599aa9aae9f07cf4960f41ef34f865e5 (diff) |
Workaround to handle non-value arguments in tactics.
Although the fix is not a proper one, it seems to solve
every instance of #2800 that could be tested.
Diffstat (limited to 'plugins/ltac')
-rw-r--r-- | plugins/ltac/tacinterp.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/ltac/tacinterp.ml b/plugins/ltac/tacinterp.ml index 8a8f9e71a..04dd7d6e9 100644 --- a/plugins/ltac/tacinterp.ml +++ b/plugins/ltac/tacinterp.ml @@ -1049,8 +1049,7 @@ and eval_tactic ist tac : unit Proofview.tactic = match tac with push_trace(loc,call) ist >>= fun trace -> Profile_ltac.do_profile "eval_tactic:2" trace (catch_error_tac trace (interp_atomic ist t)) - | TacFun _ | TacLetIn _ -> assert false - | TacMatchGoal _ | TacMatch _ -> assert false + | TacFun _ | TacLetIn _ | TacMatchGoal _ | TacMatch _ -> interp_tactic ist tac | TacId [] -> Proofview.tclLIFT (db_breakpoint (curr_debug ist) []) | TacId s -> let msgnl = |