tuned;
authorwenzelm
Mon, 02 Jan 2023 12:34:20 +0100
changeset 76861 1ffd8f92983f
parent 76860 f95ed5a0600c
child 76862 5f7fed61489f
tuned;
src/Pure/PIDE/protocol.scala
--- a/src/Pure/PIDE/protocol.scala	Mon Jan 02 12:29:08 2023 +0100
+++ b/src/Pure/PIDE/protocol.scala	Mon Jan 02 12:34:20 2023 +0100
@@ -25,8 +25,8 @@
   object Loading_Theory {
     def unapply(props: Properties.T): Option[(Document.Node.Name, Document_ID.Exec)] =
       (props, props, props) match {
-        case (Markup.Name(name), Position.File(file), Position.Id(id))
-        if Path.is_wellformed(file) => Some((Document.Node.Name(file, theory = name), id))
+        case (Markup.Name(theory), Position.File(file), Position.Id(id))
+        if Path.is_wellformed(file) => Some((Document.Node.Name(file, theory = theory), id))
         case _ => None
       }
   }