clarified output;
authorwenzelm
Fri, 12 Aug 2022 15:48:47 +0200
changeset 75822 0a14663dffcc
parent 75821 affd69bad2d4
child 75823 6eb8d6cdb686
clarified output;
src/Pure/Thy/document_build.scala
--- a/src/Pure/Thy/document_build.scala	Fri Aug 12 15:40:38 2022 +0200
+++ b/src/Pure/Thy/document_build.scala	Fri Aug 12 15:48:47 2022 +0200
@@ -31,10 +31,12 @@
   }
 
   sealed case class Document_Input(name: String, sources: SHA1.Digest)
-  extends Document_Name
+  extends Document_Name { override def toString: String = name }
 
   sealed case class Document_Output(name: String, sources: SHA1.Digest, log_xz: Bytes, pdf: Bytes)
   extends Document_Name {
+    override def toString: String = name
+
     def log: String = log_xz.uncompress().text
     def log_lines: List[String] = split_lines(log)