diff --git a/Interop/Runtime/src/native/kotlin/kotlinx/cinterop/ObjectiveCImpl.kt b/Interop/Runtime/src/native/kotlin/kotlinx/cinterop/ObjectiveCImpl.kt index 814d25200e6..bf6d15fa5e9 100644 --- a/Interop/Runtime/src/native/kotlin/kotlinx/cinterop/ObjectiveCImpl.kt +++ b/Interop/Runtime/src/native/kotlin/kotlinx/cinterop/ObjectiveCImpl.kt @@ -30,7 +30,7 @@ abstract class ObjCObjectBase protected constructor() : ObjCObject { abstract class ObjCObjectBaseMeta protected constructor() : ObjCObjectBase(), ObjCObjectMeta {} -external fun optional(): Nothing +fun optional(): Nothing = throw RuntimeException("Do not call me!!!") /** * The runtime representation of any [ObjCObject].