react-native-macos/React
zhongwuzw 17ae61e14c Fixed method invoke when both nullable and __unused exist (#23726)
Summary:
We have parse code to try to support exported method parameter annotated `__unused` and `nullable`, but actually, seems we don't support it entirely, for example, we parse `__unused` firstly, then we parse `nullable`, actually, this case not exist, because `nullable` macro must appear right after `(`, before `__unused`, so we can't parse success, leads to error signature and crash.

[iOS] [Fixed] - Fixed method invoke when both nullable and __unused exist
Pull Request resolved: https://github.com/facebook/react-native/pull/23726

Differential Revision: D14298563

Pulled By: cpojer

fbshipit-source-id: 934e1d384a5d67b7bbf117fd2dec51f50979c979
2019-03-03 20:45:06 -08:00
..
Base Fixed method invoke when both nullable and __unused exist (#23726) 2019-03-03 20:45:06 -08:00
CxxBridge NativeModules iOS: downgrade duplicated module message to warning instead of error 2019-02-21 20:10:30 -08:00
CxxModule Add assorted missing includes in xplat 2019-02-28 00:52:48 -08:00
CxxUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
DevSupport TM iOS: disable remote debugging toggle when TurboModule is active 2019-03-01 14:30:35 -08:00
Fabric Cleanup SchedulerDelegate interface 2019-03-03 15:51:32 -08:00
Inspector Don't reconnect inspector if connection refused (#22625) 2019-02-21 12:52:39 -08:00
Modules TM iOS: disable remote debugging toggle when TurboModule is active 2019-03-01 14:30:35 -08:00
Profiler Fix 50 xcode warnings (#23553) 2019-02-20 10:17:26 -08:00
React.xcodeproj Fix xcode warnings (#23648) 2019-02-25 14:30:39 -08:00
UIUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Views Remove compatible system code for iOS8 and before (#23656) 2019-02-26 07:58:52 -08:00
React-Core.podspec Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
React-DevSupport.podspec Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
third-party.xcconfig Upgrade folly to v2018.10.22.00 for iOS (#21976) 2018-10-29 12:13:11 -07:00