src/Pure/Isar/obtain.ML
changeset 60391 04f92c13ff7e
parent 60390 c8384ff11711
child 60392 599bff6c8c9e
--- a/src/Pure/Isar/obtain.ML	Mon Jun 08 21:23:28 2015 +0200
+++ b/src/Pure/Isar/obtain.ML	Mon Jun 08 21:39:16 2015 +0200
@@ -123,7 +123,7 @@
     val declare_asms = fold Variable.declare_term asm_props #> Proof_Context.bind_terms binds;
     val asms =
       map (fn ((b, raw_atts), _) => (b, map (prep_att ctxt) raw_atts)) raw_asms ~~
-      unflat asm_propss (map (rpair []) asm_props);
+      map (map (rpair [])) asm_propss;
 
     (*obtain params*)
     val (Ts, params_ctxt) = fold_map Proof_Context.inferred_param xs' (declare_asms fix_ctxt);