merge
authorCezary Kaliszyk <kaliszyk@in.tum.de>
Wed, 13 Jul 2011 04:00:32 +0900
changeset 43799 a72661ba7239
parent 43790 9bd8d4addd6e (current diff)
parent 43798 a9242e34d711 (diff)
child 43800 9959c8732edf
merge
--- a/src/HOL/Import/hol4rews.ML	Tue Jul 12 23:22:22 2011 +0200
+++ b/src/HOL/Import/hol4rews.ML	Wed Jul 13 04:00:32 2011 +0900
@@ -160,7 +160,7 @@
     let
         val _ = message "Adding HOL4 rewrite"
         val th1 = th RS @{thm eq_reflection}
-                  handle _ => th
+                  handle THM _ => th
         val current_rews = HOL4Rewrites.get thy
         val new_rews = insert Thm.eq_thm th1 current_rews
         val updated_thy  = HOL4Rewrites.put new_rews thy
@@ -168,7 +168,7 @@
         (Context.Theory updated_thy,th1)
     end
   | add_hol4_rewrite (context, th) = (context,
-      (th RS @{thm eq_reflection} handle _ => th)
+      (th RS @{thm eq_reflection} handle THM _ => th)
     );
 
 fun ignore_hol4 bthy bthm thy =