facebookarchive/prepack
Voir sur GitHubrealm.$TemplateMap is persistent throughout effects
Open
#2 129 ouverte le 18 juin 2018
abstractbughelp wantedinterpreterlevel 2 (easy)
Métriques du dépôt
- Stars
- (14 268 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Using ES2015 tagged template literals makes use of a $TemplateMap on the realm. When we evaluateForEffects and create a tagged template inside some effects, then revert the effects, it's expected that the newly created array objects in the template map are also stored on effects and properly reverted.