temporarily re-introduced overwrite_warn
authorhaftmann
Fri, 23 Sep 2005 09:00:19 +0200
changeset 17593 01870f76478c
parent 17592 ece268908438
child 17594 98be710dabc4
temporarily re-introduced overwrite_warn
src/HOL/Tools/recdef_package.ML
--- a/src/HOL/Tools/recdef_package.ML	Fri Sep 23 00:52:13 2005 +0200
+++ b/src/HOL/Tools/recdef_package.ML	Fri Sep 23 09:00:19 2005 +0200
@@ -82,7 +82,8 @@
 
 fun add_cong raw_thm congs =
   let val (c, thm) = prep_cong raw_thm
-  in update_warn (op =) ("Overwriting recdef congruence rule for " ^ quote c) (c, thm) congs end;
+(*   in update_warn (op =) ("Overwriting recdef congruence rule for " ^ quote c) (c, thm) congs end;  *)
+  in overwrite_warn (congs, (c, thm)) ("Overwriting recdef congruence rule for " ^ quote c) end;
 
 fun del_cong raw_thm congs =
   let