src/ZF/Tools/ind_cases.ML
changeset 56031 2e3329b89383
parent 55111 5792f5106c40
child 58828 6d076fdd933d
--- a/src/ZF/Tools/ind_cases.ML	Mon Mar 10 17:09:40 2014 +0100
+++ b/src/ZF/Tools/ind_cases.ML	Mon Mar 10 17:52:30 2014 +0100
@@ -48,7 +48,7 @@
   let
     val ctxt = Proof_Context.init_global thy;
     val facts = args |> map (fn ((name, srcs), props) =>
-      ((name, map (Attrib.attribute_cmd_global thy) srcs),
+      ((name, map (Attrib.attribute_cmd ctxt) srcs),
         map (Thm.no_attributes o single o smart_cases ctxt) props));
   in thy |> Global_Theory.note_thmss "" facts |> snd end;