src/Pure/Tools/proof_general.ML
changeset 56158 c2c6d560e7b2
parent 55387 51f0876f61df
child 56208 06cc31dff138
equal deleted inserted replaced
56157:7cfe7b6d501a 56158:c2c6d560e7b2
   389   if ! thm_deps andalso can Toplevel.theory_of state andalso Toplevel.is_theory state'
   389   if ! thm_deps andalso can Toplevel.theory_of state andalso Toplevel.is_theory state'
   390   then
   390   then
   391     let
   391     let
   392       val prev_facts = Global_Theory.facts_of (Toplevel.theory_of state);
   392       val prev_facts = Global_Theory.facts_of (Toplevel.theory_of state);
   393       val facts = Global_Theory.facts_of (Toplevel.theory_of state');
   393       val facts = Global_Theory.facts_of (Toplevel.theory_of state');
   394       val (names, deps) = get_thm_deps (maps #2 (Facts.dest_static [prev_facts] facts));
   394       val (names, deps) = get_thm_deps (maps #2 (Facts.dest_static true [prev_facts] facts));
   395     in
   395     in
   396       if null names orelse null deps then ()
   396       if null names orelse null deps then ()
   397       else thm_deps_message (spaces_quote names, spaces_quote deps)
   397       else thm_deps_message (spaces_quote names, spaces_quote deps)
   398     end
   398     end
   399   else ());
   399   else ());