NSObject related compile issue on Linux

I went looking for the code and it looks like the relevant logic is encoded in canInheritDesignatedInits() which calls hasUserDefinedDesignatedInit() and areAllStoredPropertiesDefaultInitializable(). Both return early if the class is imported from Objective-C.

1 Like