Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix colliding method by appending variable additional args
Summary: When updating type references on a method signature, the updated signature could collide with an existing one. The current solution is to artificially append an additional parameter to the method to make them different and patch the call site by passing an additional constant argument. This doesn't work if we have more than two methods colliding with each other. The diff proposes a potential fix for the limitation. Reviewed By: emma0303 Differential Revision: D9302391 fbshipit-source-id: 74e299aa72c4319130d14b5237526659c3d54b4e
- Loading branch information
1 parent
2e9edf7
commit 793702a
Showing
3 changed files
with
73 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters