Fix EvaluateTests for strings

This commit is contained in:
Natalia Ukhorskaya
2014-01-17 11:34:08 +04:00
parent 73de3ae9ab
commit cf5dc5b98b
3 changed files with 22 additions and 14 deletions
@@ -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
}
}