tuned;
authorwenzelm
Sun, 30 Aug 2015 17:32:50 +0200
changeset 61053 62f3b4988277
parent 61052 ed0a1067b1df
child 61054 add998b3c597
tuned;
src/Pure/thm.ML
--- a/src/Pure/thm.ML	Sun Aug 30 17:32:36 2015 +0200
+++ b/src/Pure/thm.ML	Sun Aug 30 17:32:50 2015 +0200
@@ -1196,8 +1196,8 @@
         val Thm (der, {cert, hyps, shyps, tpairs, prop, ...}) = th;
         val (inst', (instT', (cert', shyps'))) =
           (cert, shyps) |> fold_map add_inst inst ||> fold_map add_instT instT
-            handle CONTEXT (msg, cTs, cts, ths, NONE) =>
-              raise CONTEXT (msg, cTs, cts, th :: ths, NONE);
+            handle CONTEXT (msg, cTs, cts, ths, context) =>
+              raise CONTEXT (msg, cTs, cts, th :: ths, context);
         val subst = Term_Subst.instantiate_maxidx (instT', inst');
         val (prop', maxidx1) = subst prop ~1;
         val (tpairs', maxidx') =