From aa52c45c5a33beaf46ad5e22b60cb9978643b3fc Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Sun, 19 Apr 2020 23:13:00 +0300 Subject: [PATCH] Fix boolean value toString() --- .../src/commonMain/kotlin/hep/dataforge/values/Value.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataforge-meta/src/commonMain/kotlin/hep/dataforge/values/Value.kt b/dataforge-meta/src/commonMain/kotlin/hep/dataforge/values/Value.kt index 28a5838c..05c082e9 100644 --- a/dataforge-meta/src/commonMain/kotlin/hep/dataforge/values/Value.kt +++ b/dataforge-meta/src/commonMain/kotlin/hep/dataforge/values/Value.kt @@ -125,7 +125,7 @@ object False : Value { override val number: Number get() = -1.0 override val string: String get() = "false" - override fun toString(): String = True.value.toString() + override fun toString(): String = value.toString() override fun equals(other: Any?): Boolean = other === False override fun hashCode(): Int = -1