mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
17ae61e14c
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