diff --git a/model-datastructure/src/commonMain/kotlin/org/modelix/model/lazy/NonWrittenEntry.kt b/model-datastructure/src/commonMain/kotlin/org/modelix/model/lazy/NonWrittenEntry.kt index 9945def968..72fb271f76 100644 --- a/model-datastructure/src/commonMain/kotlin/org/modelix/model/lazy/NonWrittenEntry.kt +++ b/model-datastructure/src/commonMain/kotlin/org/modelix/model/lazy/NonWrittenEntry.kt @@ -37,4 +37,8 @@ class NonWrittenEntry : IKVEntryReference { deserialized.isWritten = true } } + + override fun toString(): String { + return hash + } } diff --git a/model-datastructure/src/commonMain/kotlin/org/modelix/model/lazy/WrittenEntry.kt b/model-datastructure/src/commonMain/kotlin/org/modelix/model/lazy/WrittenEntry.kt index a5c466e135..9909bf2c07 100644 --- a/model-datastructure/src/commonMain/kotlin/org/modelix/model/lazy/WrittenEntry.kt +++ b/model-datastructure/src/commonMain/kotlin/org/modelix/model/lazy/WrittenEntry.kt @@ -30,4 +30,8 @@ class WrittenEntry( override fun write(store: IDeserializingKeyValueStore) {} override fun getDeserializer(): (String) -> E = deserializer + + override fun toString(): String { + return hash + } }