src/Pure/Isar/proof_context.ML
changeset 63609 be0a4a0bf7f5
parent 63542 e7b9ae541718
child 63640 c273583f0203
--- a/src/Pure/Isar/proof_context.ML	Thu Aug 04 21:25:16 2016 +0200
+++ b/src/Pure/Isar/proof_context.ML	Thu Aug 04 21:30:20 2016 +0200
@@ -1013,11 +1013,12 @@
   | retrieve pick context (Facts.Named ((xname, pos), sel)) =
       let
         val thy = Context.theory_of context;
-        fun immediate thm = {name = xname, dynamic = false, thms = [Thm.transfer thy thm]};
+        fun immediate thms = {name = xname, dynamic = false, thms = map (Thm.transfer thy) thms};
         val {name, dynamic, thms} =
           (case xname of
-            "" => immediate Drule.dummy_thm
-          | "_" => immediate Drule.asm_rl
+            "" => immediate [Drule.dummy_thm]
+          | "_" => immediate [Drule.asm_rl]
+          | "nothing" => immediate []
           | _ => retrieve_generic context (xname, pos));
         val thms' =
           if dynamic andalso Config.get_generic context dynamic_facts_dummy