You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used @ObjCName(swiftName = "_") with the goal of not requiring Swift callers to pass the parameter name. But that seems to create a problem for the code generator. It sets an empty string for the Objective-C name for the parameter
Input Code
suspendfunfetchString(@ObjCName(swiftName ="_") param:Int): String {
println("Starting")
delay(100)
withContext(Dispatchers.IO) {
println("in some IO thread")
delay(1000)
}
println("back on original thread")
return param.toString()
}
I used
@ObjCName(swiftName = "_")
with the goal of not requiring Swift callers to pass the parameter name. But that seems to create a problem for the code generator. It sets an empty string for the Objective-C name for the parameterInput Code
Generated Code
Compiler error
The text was updated successfully, but these errors were encountered: