-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[infer/py] BUILD_CONST_KEY_MAP also accepts int and bytes as literal …
…keys Summary: It seems to accept any kind of constant keys (I witnessed a tuple of constant booleans ...) So we'll improve the support as we go. We could also stop checking for "constant" keys and just take anything. The compiler will refuse them if they are not constant. Reviewed By: davidpichardie Differential Revision: D49912269 fbshipit-source-id: 2af76818816ff44f472f7981ecc41c350514b6d6
- Loading branch information
1 parent
705cade
commit c914ee0
Showing
2 changed files
with
24 additions
and
7 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