diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/cell.moon | 2 | ||||
| -rw-r--r-- | core/invoke.moon | 2 | ||||
| -rw-r--r-- | core/result.moon | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/core/cell.moon b/core/cell.moon index f023b25..3567a6d 100644 --- a/core/cell.moon +++ b/core/cell.moon @@ -123,7 +123,7 @@ class Cell buf ..= '...' else for i, child in ipairs @children - buf ..= child\stringify depth - 1 + buf ..= child\stringify if depth == -1 then -1 else depth - 1 buf ..= if depth > 0 then ' ' else @white[i] if depth > 0 diff --git a/core/invoke.moon b/core/invoke.moon index 69ce881..a401c9a 100644 --- a/core/invoke.moon +++ b/core/invoke.moon @@ -19,7 +19,7 @@ class op_invoke extends Action true eval: (scope, tail) => - children = L\push -> [L\push expr\eval, scope for expr in *tail] + children = [L\push expr\eval, scope for expr in *tail] @op\setup [result for result in *children], scope any_dirty = false diff --git a/core/result.moon b/core/result.moon index e92bc5c..5ad5734 100644 --- a/core/result.moon +++ b/core/result.moon @@ -5,8 +5,6 @@ -- between `Op`s. -- -- @classmod Result -import base from require 'core.cycle' - class Result --- members -- @section members @@ -36,7 +34,7 @@ class Result -- should be called once per frame on the root, right before tick. tick_io: => for stream, input in pairs @side_inputs - if input.__class == base.IOInput + if input.__class.__name == "IOInput" io = input! io\tick! |
