# HG changeset patch # User wenzelm # Date 1566323389 -7200 # Node ID 3a7117c33742ee849add900bd199a23464fdb60e # Parent 2ae7e33c950f5f2dd84436f4ad6da2dc8a31e402 proper theory context; diff -r 2ae7e33c950f -r 3a7117c33742 src/Pure/Thy/thm_deps.ML --- a/src/Pure/Thy/thm_deps.ML Tue Aug 20 18:39:33 2019 +0200 +++ b/src/Pure/Thy/thm_deps.ML Tue Aug 20 19:49:49 2019 +0200 @@ -58,7 +58,11 @@ SOME thm_name => Inttab.update (i, (thm_id, thm_name)) res | NONE => fold deps (Proofterm.thm_node_thms thm_node) res) end; - in fn thm => fold deps (Thm.thm_deps thm) Inttab.empty |> Inttab.dest |> map #2 end; + in + fn thm => + fold deps (Thm.thm_deps (Thm.transfer thy thm)) Inttab.empty + |> Inttab.dest |> map #2 + end; (* thm_deps_cmd *)