--- a/src/HOL/Import/import_rule.ML Sun Nov 09 20:41:53 2014 +0100
+++ b/src/HOL/Import/import_rule.ML Sun Nov 09 20:49:28 2014 +0100
@@ -222,7 +222,7 @@
val tnames = sort_strings (map fst tfrees)
val ((_, typedef_info), thy') =
Typedef.add_typedef_global false (Binding.name tycname, map (rpair dummyS) tnames, NoSyn) c
- (SOME (Binding.name rep_name, Binding.name abs_name)) (rtac th2 1) thy
+ (SOME (Binding.name rep_name, Binding.name abs_name)) (fn _ => rtac th2 1) thy
val aty = #abs_type (#1 typedef_info)
val th = freezeT (#type_definition (#2 typedef_info))
val (th_s, _) = Thm.dest_comb (Thm.dest_arg (cprop_of th))