From e1926d5438c3f82edb537fecd9e3ce1fd509a81a Mon Sep 17 00:00:00 2001 From: Davide Palladino Date: Tue, 10 Dec 2024 09:58:22 +0100 Subject: [PATCH] Fixed error after Kotlin Check --- .../src/main/kotlin/com/smeup/rpgparser/interpreter/values.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpgJavaInterpreter-core/src/main/kotlin/com/smeup/rpgparser/interpreter/values.kt b/rpgJavaInterpreter-core/src/main/kotlin/com/smeup/rpgparser/interpreter/values.kt index 11e1e685b..3e0d9d34b 100644 --- a/rpgJavaInterpreter-core/src/main/kotlin/com/smeup/rpgparser/interpreter/values.kt +++ b/rpgJavaInterpreter-core/src/main/kotlin/com/smeup/rpgparser/interpreter/values.kt @@ -805,7 +805,8 @@ object HiValValue : Value { override operator fun compareTo(other: Value): Int { return when (other) { is StringValue -> if (other.hiValue() == other) EQUAL else GREATER - else -> if (other is HiValValue) EQUAL else GREATER // TODO: Is much generic. Provide atomic cases. + // TODO: Is much generic. Provide atomic cases. + else -> if (other is HiValValue) EQUAL else GREATER } }