src/Pure/Isar/specification.ML
changeset 63019 80ef19b51493
parent 62992 d2e3b3b159d7
child 63038 1fbad761c1ba
--- a/src/Pure/Isar/specification.ML	Mon Apr 18 15:51:48 2016 +0100
+++ b/src/Pure/Isar/specification.ML	Mon Apr 18 20:24:19 2016 +0200
@@ -376,9 +376,8 @@
           val ([(_, that')], that_ctxt) = asms_ctxt
             |> Proof_Context.note_thmss "" [((Binding.name Auto_Bind.thatN, []), [(that, [])])];
 
-          val more_atts = map (Attrib.internal o K) (Obtain.obtains_attributes raw_obtains);
           val stmt' = [((Binding.empty, []), [(#2 (#1 (Obtain.obtain_thesis ctxt)), [])])];
-        in ((more_atts, prems, stmt', SOME that'), that_ctxt) end)
+        in ((Obtain.obtains_attribs raw_obtains, prems, stmt', SOME that'), that_ctxt) end)
   end;
 
 fun gen_theorem schematic bundle_includes prep_att prep_stmt