JS: support unsigned constants inside string templates
This commit is contained in:
committed by
Ilya Gorbunov
parent
6103df0b31
commit
2663d9751a
+1
-1
@@ -365,7 +365,7 @@ private class ConstantExpressionEvaluatorVisitor(
|
||||
return when (constantValue) {
|
||||
is ErrorValue, is EnumValue -> return null
|
||||
is NullValue -> StringValue("null")
|
||||
else -> StringValue(constantValue.value.toString())
|
||||
else -> StringValue(constantValue.stringTemplateValue())
|
||||
}.wrap(compileTimeConstant.parameters)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user