-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch synth methods overriding annotated methods
Summary: This issue was found while handling Kotlin SAMs https://kotlinlang.org/docs/fun-interfaces.html#sam-conversions Make this step a bit more generic and useful by patching all synthetic methods that override annotated methods An example of the pattern generated by SAM (inside a lambda accessing a private field too): P1530177966 Example class: P1531602975 The overridden method: P1536221348 Reviewed By: thezhangwei Differential Revision: D61681031 fbshipit-source-id: 65644f5073e366194b86412934b52c0bc323e45d
- Loading branch information
1 parent
7dd2803
commit 3915d3b
Showing
4 changed files
with
90 additions
and
0 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
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