aboutsummaryrefslogtreecommitdiffstats
path: root/core/value.moon
diff options
context:
space:
mode:
Diffstat (limited to 'core/value.moon')
-rw-r--r--core/value.moon6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/value.moon b/core/value.moon
index 0d44320..0e72486 100644
--- a/core/value.moon
+++ b/core/value.moon
@@ -36,8 +36,8 @@ class Result
if @op
for input in @op\all_inputs!
- continue if is_child[input]
- @side_inputs[input] = true
+ continue if is_child[input.stream]
+ @side_inputs[input.stream] = true
is_const: => not next @side_inputs
@@ -97,7 +97,7 @@ class Value
-- * scope, opdef, fndef, builtin
-- @value - Lua value - access through :unwrap()
new: (@type, @value, @raw) =>
- @updated = 0
+ @updated = nil
dirty: => @updated == Registry.active!.tick