-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: I'm about to add support for `TypeIs` to Pyre, and a majority of the code should be shared with `TypeGuard`. There are a few places where the existing code isn't optimized for extending the concept of type guards to be more general, either due to poor factoring or names that aren't as clear as they could be. This is a simple commit with no functional changes to clean some of these up in preparation for `TypeIs` support. Reviewed By: grievejia Differential Revision: D59734070 fbshipit-source-id: c892c2b526fbbc5a1fc17aeb4f74d138c065e316
- Loading branch information
1 parent
2ebd213
commit 5a3ead8
Showing
3 changed files
with
3 additions
and
3 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