Fix boolean value toString()

This commit is contained in:
Alexander Nozik 2020-04-19 23:13:00 +03:00
parent fb28c854b3
commit aa52c45c5a

View File

@ -125,7 +125,7 @@ object False : Value {
override val number: Number get() = -1.0 override val number: Number get() = -1.0
override val string: String get() = "false" 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 equals(other: Any?): Boolean = other === False
override fun hashCode(): Int = -1 override fun hashCode(): Int = -1