diff options
Diffstat (limited to 'tactics/tacinterp.ml')
-rw-r--r-- | tactics/tacinterp.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml index e52d78411..08de6cb02 100644 --- a/tactics/tacinterp.ml +++ b/tactics/tacinterp.ml @@ -81,8 +81,10 @@ let catch_error call_trace tac g = [], loc, e in if List.is_empty call_trace & List.is_empty inner_trace then raise e - else + else begin + assert (Errors.noncritical e); (* preserved invariant about LtacLocated *) raise (LtacLocated(inner_trace@call_trace,loc,e)) + end (* Signature for interpretation: val_interp and interpretation functions *) type interp_sign = |