Pure/tactic/compose_inst_tac: when catching exception THM, prints the
authorlcp
Fri, 10 Dec 1993 10:36:39 +0100
changeset 191 fe5d88d4c7e1
parent 190 4ae10fc91cba
child 192 3dc5c8016a0e
Pure/tactic/compose_inst_tac: when catching exception THM, prints the message before failing!! This reports the reason for failure in cases like by (res_inst_tac [("P", "?Q(a)")] mp 1); in which ?Q appears in mp with a different type.
src/Pure/tactic.ML
--- a/src/Pure/tactic.ML	Thu Dec 09 11:39:33 1993 +0100
+++ b/src/Pure/tactic.ML	Fri Dec 10 10:36:39 1993 +0100
@@ -206,7 +206,7 @@
 	   compose_tac (bires_flg, lift_inst_rule (state, i, sinsts, rule),
 			nsubgoal) i
 	   handle TERM (msg,_) => (writeln msg;  no_tac)
-		| THM _ => no_tac );
+		| THM  (msg,_,_) => (writeln msg;  no_tac) );
 
 (*Resolve version*)
 fun res_inst_tac sinsts rule i =