Fix type error when an effect errors outside strict mode

This commit is contained in:
Kaan 2026-10-22 15:33:34 +03:00
parent d933fe8e9c
commit beba14bf06

View file

@ -230,7 +230,7 @@ local function try_evaluate_node<T>(node: Node<T>): (boolean, string?)
pop_scope() pop_scope()
if not ok then if not ok then
return false, new_value return false, new_value :: any
end end
node.cache = new_value node.cache = new_value