mirror of
https://github.com/centau/vide.git
synced 2026-08-20 23:01:37 +00:00
fix: evaluate derive, maps and switch on read, always before push child
This commit is contained in:
parent
04388ec1b1
commit
e115372e6b
3 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue