From f617e022c8a35e6885001ea9e34be67a98c6683a Mon Sep 17 00:00:00 2001 From: Ramanpreet Nara Date: Mon, 13 Sep 2021 14:19:20 -0700 Subject: [PATCH] Fix methodQueue attachment error message Summary: When we fail to assign the methodQueue to a NativeModule in the TurboModule system, we say "You must either synthesize the bridge property", when we should say "You must either synthesize the methodQueue property". Changelog: [Internal] Created from CodeHub with https://fburl.com/edit-in-codehub Reviewed By: philIip Differential Revision: D30909907 fbshipit-source-id: 07dc1060497be3fdd16bdfcf6e80cfed182bc5c7 --- .../nativemodule/core/platform/ios/RCTTurboModuleManager.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactCommon/react/nativemodule/core/platform/ios/RCTTurboModuleManager.mm b/ReactCommon/react/nativemodule/core/platform/ios/RCTTurboModuleManager.mm index c740faf1ba3..a63c805609d 100644 --- a/ReactCommon/react/nativemodule/core/platform/ios/RCTTurboModuleManager.mm +++ b/ReactCommon/react/nativemodule/core/platform/ios/RCTTurboModuleManager.mm @@ -595,7 +595,7 @@ static Class getFallbackClassFromName(const char *name) } @catch (NSException *exception) { RCTLogError( @"%@ has no setter or ivar for its methodQueue, which is not " - "permitted. You must either @synthesize the bridge property, " + "permitted. You must either @synthesize the methodQueue property, " "or provide your own setter method.", RCTBridgeModuleNameForClass([module class])); }