afford default cache policy, despite 6a29709906c6;
authorwenzelm
Sun, 07 Aug 2022 20:36:01 +0200
changeset 75792 4e273b4e04e8
parent 75791 fb12433208aa
child 75793 5e00c5ffc040
afford default cache policy, despite 6a29709906c6;
src/Pure/Thy/presentation.scala
--- a/src/Pure/Thy/presentation.scala	Sun Aug 07 13:44:01 2022 +0200
+++ b/src/Pure/Thy/presentation.scala	Sun Aug 07 20:36:01 2022 +0200
@@ -134,8 +134,7 @@
           { case (session, thys) =>
               using(open_session(session)) { session_context =>
                 for (thy_name <- thys) yield {
-                  val theory_context =
-                    session_context.theory(thy_name, other_cache = Some(Term.Cache.none))
+                  val theory_context = session_context.theory(thy_name)
                   val theory = Export_Theory.read_theory(theory_context, permissive = true)
                   thy_name -> Node_Info.make(theory)
                 }