src/Pure/Thy/thy_info.ML
changeset 66371 6ce1afc01040
parent 66370 de9c6560c221
child 66377 753eb5b83370
--- a/src/Pure/Thy/thy_info.ML	Mon Aug 07 15:13:21 2017 +0200
+++ b/src/Pure/Thy/thy_info.ML	Mon Aug 07 20:05:23 2017 +0200
@@ -154,11 +154,10 @@
 
 fun join_theory (Result {theory, exec_id, ...}) =
   let
-    (*toplevel proofs and diags*)
-    val _ = Future.join_tasks (Execution.snapshot [exec_id]);
-    (*fully nested proofs*)
+    val _ = Execution.join [exec_id];
     val res = Exn.capture Thm.consolidate_theory theory;
-  in res :: map Exn.Exn (maps Task_Queue.group_status (Execution.peek exec_id)) end;
+    val errs = maps Task_Queue.group_status (Execution.peek exec_id);
+  in res :: map Exn.Exn errs end;
 
 datatype task =
   Task of Path.T * string list * (theory list -> result) |