facebookarchive/prepack
在 GitHub 查看Deal with abstract parent objects when creating new properties.
Open
#1,016 创建于 2017年9月27日
abstractenhancementhelp wantedtest needed
仓库指标
- Star
- (14,268 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
When running up the prototype chain for various operations, Prepack will stop with an error if an abstract object is encountered in the prototype chain. This is unnecessarily conservative, particularly if the parent object is a simple object.
Write some test cases with objects that have partial and partial+simple objects in their prototype chains and then create various kinds of properties on the objects.