Leonid Popescu
10/30/2018, 11:18 AM// Common
expect fun formatString(source: String, vararg args: Any): String
// JVM
actual fun formatString(source: String, vararg args: Any) =
String.format(source, args)
but when I run the tests, I get java.util.IllegalFormatConversionException: x != [Ljava.lang.Object;
for this line formatString("%04X", value)
(value is Long).
for the Native it part works (snipped copied from a github thread). After looking through all the internet I couldn’t find a solution or reason