Fix error message (#3084)

This commit is contained in:
Thomas Vos
2019-06-21 07:59:03 +02:00
committed by Nikolay Igotti
parent d8994435d6
commit 838b4455d9
@@ -223,7 +223,7 @@ private fun KotlinToCCallBuilder.unwrapVariadicArguments(
}
} else {
stubs.reportError(it, "When calling variadic " +
if (isObjCMethod) "Objective-C methods" else "C functions " +
(if (isObjCMethod) "Objective-C methods " else "C functions ") +
"spread operator is supported only for *arrayOf(...)")
}
}