From 36eb9b043309256edf29910c9acf22e309137792 Mon Sep 17 00:00:00 2001 From: ernisto Date: Fri, 11 Apr 2025 00:54:14 -0300 Subject: [PATCH] fix(maps/values): modify directly next `input cache` instead of defer to end - solves test `destruction of active scope in values` without twice runs --- src/maps.luau | 1 + 1 file changed, 1 insertion(+) diff --git a/src/maps.luau b/src/maps.luau index 6add44b..6ea6168 100644 --- a/src/maps.luau +++ b/src/maps.luau @@ -127,6 +127,7 @@ local function values(input: () -> Map, transform: (VI, () -> local function update_children(data: Map) local cur_input_cache, new_input_cache = cur_input_cache_up, new_input_cache_up + cur_input_cache_up = new_input_cache if flags.strict then local cache = {}