-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve submodule with __set_state__ in freezing (#47308)
Summary: This PR does the following: - fail freezing if input module has __set_state__ method - preserves attributes of submodules with __set_state__ method. Fixes #{issue number} Pull Request resolved: #47308 Reviewed By: eellison Differential Revision: D24711613 Pulled By: bzinodev fbshipit-source-id: 22e51417454aaf85cc0ae4acb2dc7fc822f149a2
- Loading branch information
1 parent
a480ca5
commit a3e1bd1
Showing
2 changed files
with
112 additions
and
2 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