src/HOL/BNF/Tools/bnf_fp_def_sugar.ML
changeset 52788 da1fdbfebd39
parent 52659 58b87aa4dc3b
child 52793 062aa11e98e1
--- a/src/HOL/BNF/Tools/bnf_fp_def_sugar.ML	Tue Jul 30 12:07:14 2013 +0200
+++ b/src/HOL/BNF/Tools/bnf_fp_def_sugar.ML	Tue Jul 30 15:09:25 2013 +0200
@@ -995,7 +995,7 @@
       Sign.add_type no_defs_lthy (type_binding_of spec,
         length (type_args_named_constrained_of spec), mixfix_of spec);
 
-    val fake_thy = Theory.copy #> fold add_fake_type specs;
+    val fake_thy = fold add_fake_type specs;
     val fake_lthy = Proof_Context.background_theory fake_thy no_defs_lthy;
 
     fun mk_fake_T b =