tuned;
authorwenzelm
Sat, 31 Dec 2022 15:45:53 +0100
changeset 76853 e37c58cbb79f
parent 76852 2915740fce1f
child 76854 f3ca8478e59e
tuned;
src/Pure/Thy/export_theory.scala
--- a/src/Pure/Thy/export_theory.scala	Sat Dec 31 15:42:13 2022 +0100
+++ b/src/Pure/Thy/export_theory.scala	Sat Dec 31 15:45:53 2022 +0100
@@ -103,7 +103,7 @@
 
   def read_theory_parents(theory_context: Export.Theory_Context): Option[List[String]] =
     theory_context.get(Export.THEORY_PREFIX + "parents")
-      .map(entry => Library.trim_split_lines(entry.bytes.text))
+      .map(entry => Library.trim_split_lines(entry.text))
 
   def theory_names(
     session_context: Export.Session_Context,
@@ -753,7 +753,7 @@
   def read_others(theory_context: Export.Theory_Context): Map[String, List[Entity[Other]]] = {
     val kinds =
       theory_context.get(Export.THEORY_PREFIX + "other_kinds") match {
-        case Some(entry) => split_lines(entry.bytes.text)
+        case Some(entry) => split_lines(entry.text)
         case None => Nil
       }
     val other = Other()