From 49fc62017f38b242a16e99f9d487c26e58e628d2 Mon Sep 17 00:00:00 2001 From: herbelin Date: Thu, 14 Apr 2011 18:47:41 +0000 Subject: More informative anomaly. Signed-off-by: Tom Prince git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14002 85f007b7-540e-0410-9357-904b9bb8a0f7 --- tactics/tacinterp.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml index 46428236c5..3012cbae2f 100644 --- a/tactics/tacinterp.ml +++ b/tactics/tacinterp.ml @@ -1004,7 +1004,7 @@ let try_interp_ltac_var coerce ist env (loc,id) = let interp_ltac_var coerce ist env locid = try try_interp_ltac_var coerce ist env locid - with Not_found -> anomaly "Detected as ltac var at interning time" + with Not_found -> anomaly ("Detected '" ^ (string_of_id (snd locid)) ^ "' as ltac var at interning time") (* Interprets an identifier which must be fresh *) let coerce_to_ident fresh env = function -- cgit v1.2.3