Fix EvaluateTests for strings
This commit is contained in:
+2
-1
@@ -517,7 +517,8 @@ private fun createStringConstant(value: CompileTimeConstant<*>?): StringValue? {
|
||||
is IntValue, is ByteValue, is ShortValue, is LongValue,
|
||||
is CharValue,
|
||||
is DoubleValue, is FloatValue,
|
||||
is BooleanValue -> StringValue(value.getValue().toString())
|
||||
is BooleanValue,
|
||||
is NullValue -> StringValue(value.getValue().toString())
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user