-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch on return types for invokeObjCMethod instead of cascading if else #39591
Conversation
This pull request was exported from Phabricator. Differential Revision: D49521866 |
Base commit: 4da0d44 |
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Differential Revision: D49521866 fbshipit-source-id: 6934ba2d94211d7d67ace0e4eefeb6268fcdee49
e1db14f
to
81f662a
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: mdvacca Differential Revision: D49521866 fbshipit-source-id: 8687df8799965479fae66e1e4733a97c1946cdb1
81f662a
to
89cfe1f
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: mdvacca Differential Revision: D49521866 fbshipit-source-id: 412ccbd8750b0f0e4194e30e718dd50adaf75725
89cfe1f
to
e180f4e
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: RSNara Differential Revision: D49521866 fbshipit-source-id: 6c37943d680c5c6d387b2a984f3fb2b4d421bcc0
e180f4e
to
6bb1dd1
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: RSNara Differential Revision: D49521866 fbshipit-source-id: 3e3c2999a07db8faccdd38a85aaf859873fb4b5f
6bb1dd1
to
142db9f
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: RSNara Differential Revision: D49521866 fbshipit-source-id: 8637b1ea9967aa8ea8322dd05e570d44be02cf42
142db9f
to
c00cbc3
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: RSNara Differential Revision: D49521866 fbshipit-source-id: 4f92a3d5cbb536a2c0e5bce7dc33d9756c2511fe
c00cbc3
to
18ac72b
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: RSNara Differential Revision: D49521866 fbshipit-source-id: 0b141e89426f52faefa84f04712c698f6e71d7fc
18ac72b
to
751a39b
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: RSNara Differential Revision: D49521866 fbshipit-source-id: 672a2077de0077c28303ffc80aaeedab750be388
751a39b
to
3017b0f
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: RSNara Differential Revision: D49521866 fbshipit-source-id: 664e472d57792c6f84a33d19df3a3322abc06d56
3017b0f
to
c20672d
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: RSNara Differential Revision: D49521866 fbshipit-source-id: 77a43eed4e7014c5de60e8cee6f0d6ae8e2a68ba
c20672d
to
0d8a357
Compare
This pull request was exported from Phabricator. Differential Revision: D49521866 |
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: RSNara Differential Revision: D49521866 fbshipit-source-id: 25158852bb24d8363c30ce42ba507a186df5470e
0d8a357
to
b0b9746
Compare
Differential Revision: D49521864 fbshipit-source-id: b059c0201f7de1330fc85b8f542613b9bd40903c
Differential Revision: D49521863 fbshipit-source-id: 75dec87b0210386b37cbee20b144f32ec6a1dc05
…lse (facebook#39591) Summary: Pull Request resolved: facebook#39591 Changelog: [Internal] I'm refactoring this for a couple of reasons: 1) it isolates the void execution path, which we are changing now 2) switch case is safer than if else, in the future if we introduce new return types Reviewed By: RSNara Differential Revision: D49521866 fbshipit-source-id: 3ef1458f308510be7a69b733099b70ae821e26df
This pull request was exported from Phabricator. Differential Revision: D49521866 |
b0b9746
to
78e42eb
Compare
This pull request has been merged in 113de6e. |
Summary:
Changelog: [Internal]
I'm refactoring this for a couple of reasons:
Differential Revision: D49521866