facebookarchive/prepack

realm.$TemplateMap is persistent throughout effects

Open

#2.129 geöffnet am 18. Juni 2018

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (14.268 Stars) (520 Forks)batch import
abstractbughelp wantedinterpreterlevel 2 (easy)

Beschreibung

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.

Contributor Guide