facebookarchive/prepack

realm.$TemplateMap is persistent throughout effects

Open

#2.129 aberto em 18 de jun. de 2018

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (14.268 stars) (520 forks)batch import
abstractbughelp wantedinterpreterlevel 2 (easy)

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.

Guia do colaborador