Fix error message (#3084)
This commit is contained in:
committed by
Nikolay Igotti
parent
d8994435d6
commit
838b4455d9
+1
-1
@@ -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(...)")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user