Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Promise argument assertion to take into account executorTokenOffset.
Summary:In the code that extracts and validates arguments from a `ReactMethod`, there is verification that if a method contains a Promise in it's list of arguments that it must come last. This fix makes sure that the `executorTokenOffset` is taken into account when asserting that condition. Closes #6633 Differential Revision: D3143207 fb-gh-sync-id: ae9ebd9d829f88993f9951c4cb2452b3f7618476 fbshipit-source-id: ae9ebd9d829f88993f9951c4cb2452b3f7618476
- Loading branch information