diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-03-02 11:41:33 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-03-02 11:41:33 +0000 |
| commit | 03853b35a473161f377fb74a05723cacc5cbf36b (patch) | |
| tree | 2e3df044cc0ff3ed24a07d6b5ee31682f077e5fa /core/value.moon | |
| parent | new op interface part one (diff) | |
| download | alive-03853b35a473161f377fb74a05723cacc5cbf36b.tar.gz alive-03853b35a473161f377fb74a05723cacc5cbf36b.zip | |
IO system
Diffstat (limited to 'core/value.moon')
| -rw-r--r-- | core/value.moon | 6 |
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 |
