facebookarchive/prepack
GitHub で見るDeal with abstract parent objects when creating new properties.
Open
#1,016 opened on 2017年9月27日
abstractenhancementhelp wantedtest needed
Repository metrics
- Stars
- (14,268 stars)
- PR merge metrics
- (30d に merged 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.