-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Currently the `native_object` API can be "map-like" or "array-like" but for some reason makes "map-like" the default. All `native_object` implementations must implement `lookup_property` even if it only supports "array-like" iteration. This diff changes it so that both "map-like" and "array-like" follow the same interface structure. See the doc blocks in/around`native_object` for more details. Reviewed By: vitaut Differential Revision: D67049574 fbshipit-source-id: 6ef8cc860229b50e2b08d17e65261ae8992aadbf
- Loading branch information
1 parent
6b88d07
commit 72d3ba7
Showing
8 changed files
with
209 additions
and
98 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
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
Oops, something went wrong.