tuned;
authorwenzelm
Mon, 01 Jun 2015 11:47:25 +0200
changeset 60326 68699e576d51
parent 60325 6fc771cb42eb
child 60327 a3f565b8ba76
tuned;
src/HOL/Tools/record.ML
--- a/src/HOL/Tools/record.ML	Mon Jun 01 11:46:03 2015 +0200
+++ b/src/HOL/Tools/record.ML	Mon Jun 01 11:47:25 2015 +0200
@@ -169,10 +169,9 @@
   resolve_from_net_tac ctxt iso_tuple_intros THEN'
   CSUBGOAL (fn (cgoal, i) =>
     let
-      val thy = Thm.theory_of_cterm cgoal;
       val goal = Thm.term_of cgoal;
 
-      val isthms = Iso_Tuple_Thms.get thy;
+      val isthms = Iso_Tuple_Thms.get (Proof_Context.theory_of ctxt);
       fun err s t = raise TERM ("iso_tuple_intros_tac: " ^ s, [t]);
 
       val goal' = Envir.beta_eta_contract goal;