src/HOL/Tools/record.ML
changeset 60326 68699e576d51
parent 59936 b8ffc3dc9e24
child 60642 48dd1cefb4ae
--- 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;