Fix RuntimeCheck usage (#4638)
This commit is contained in:
committed by
Nikolay Krasko
parent
ec62b595cb
commit
411506127c
@@ -233,7 +233,7 @@ OBJ_GETTER(Kotlin_boxDouble, KDouble value);
|
||||
|
||||
static void injectToRuntime() {
|
||||
// If the code below fails, then it is most likely caused by KT-42254.
|
||||
const char* errorMessage = "runtime injected twice; https://youtrack.jetbrains.com/issue/KT-42254 might be related";
|
||||
constexpr const char* errorMessage = "runtime injected twice; https://youtrack.jetbrains.com/issue/KT-42254 might be related";
|
||||
|
||||
RuntimeCheck(Kotlin_ObjCExport_toKotlinSelector == nullptr, errorMessage);
|
||||
Kotlin_ObjCExport_toKotlinSelector = @selector(toKotlin:);
|
||||
|
||||
Reference in New Issue
Block a user