Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix implicit proto for objects with [[call]] properties
Summary: When an object has a callable property, it is actually a function. As a function, it's prototype is the function prototype with properties `bind`, `call`, `apply`, etc. The code to detect this only considered the original callable property syntax, but should also consider the newer [[call]] syntax. Reviewed By: gabelevi Differential Revision: D14652059 fbshipit-source-id: b83185a8b8bd633d78394bfcbc56a1d5a35d460c
- Loading branch information
1 parent
cbd6438
commit 5d7e01d
Showing
2 changed files
with
10 additions
and
4 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