-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix recording deps to imported-as-object unknown modules
Summary: We should be able to record dependencies on unknown modules even when they are imported as an object (e.g. `import unknown_mod`), not only when they are imported-from (e.g. `from unknown_mod import U`). In this case, there's no need to record granular deps, we just need to know we have a dependency on the module. Reviewed By: DinoV Differential Revision: D54695279 fbshipit-source-id: 16ba0725ce1031a55af6a269643154ce7505c645
- Loading branch information
1 parent
79a30fb
commit 111b7b5
Showing
3 changed files
with
45 additions
and
10 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