src/Pure/Isar/theory_target.ML
changeset 36106 19deea200358
parent 35858 0d394a82337e
child 36610 bafd82950e24
--- a/src/Pure/Isar/theory_target.ML	Sun Apr 11 14:06:35 2010 +0200
+++ b/src/Pure/Isar/theory_target.ML	Sun Apr 11 14:30:34 2010 +0200
@@ -315,7 +315,7 @@
         | NONE =>
             if is_some (Class_Target.instantiation_param lthy b)
             then AxClass.define_overloaded name' (head, rhs')
-            else Thm.add_def false false (name', Logic.mk_equals (lhs', rhs')));
+            else Thm.add_def false false (name', Logic.mk_equals (lhs', rhs')) #>> snd);
     val def = Local_Defs.trans_terms lthy3
       [(*c == global.c xs*)     local_def,
        (*global.c xs == rhs'*)  global_def,