fix: evaluate derive, maps and switch on read, always before push child

This commit is contained in:
ernisto 2025-04-11 17:31:40 -03:00
parent 04388ec1b1
commit e115372e6b
3 changed files with 3 additions and 1 deletions

View file

@ -10,8 +10,8 @@ local function derive<T>(source: () -> T): () -> T
evaluate_node(node)
return function()
push_child_to_scope(node)
evaluate_node(node)
push_child_to_scope(node)
return node.cache
end
end