mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Get ReactiveNative compiled with Clang 10 (#28362)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/28362 Fixed a few compilation errors emitted by Clang 10. Changelog: [iOS] [Fixed] - Get ready for Clang 10 Differential Revision: D20549970 fbshipit-source-id: dc36a85d90d3e43a05f045feb57c6ab6ded67da7
This commit is contained in:
committed by
Lorenzo Sciandra
parent
158b558e50
commit
166a5ddf88
@@ -768,7 +768,7 @@ struct RCTInstanceCallback : public InstanceCallback {
|
||||
#endif
|
||||
}
|
||||
|
||||
- (NSArray<RCTModuleData *> *)_initializeModules:(NSArray<id<RCTBridgeModule>> *)modules
|
||||
- (NSArray<RCTModuleData *> *)_initializeModules:(NSArray<Class> *)modules
|
||||
withDispatchGroup:(dispatch_group_t)dispatchGroup
|
||||
lazilyDiscovered:(BOOL)lazilyDiscovered
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "Color.h"
|
||||
#include <cassert>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
@@ -304,7 +304,7 @@ static Class getFallbackClassFromName(const char *name)
|
||||
@"%@ has no setter or ivar for its bridge, which is not "
|
||||
"permitted. You must either @synthesize the bridge property, "
|
||||
"or provide your own setter method.",
|
||||
RCTBridgeModuleNameForClass(strongModule));
|
||||
RCTBridgeModuleNameForClass([strongModule class]));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user