diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-03-09 10:49:36 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-03-09 10:51:45 +0000 |
| commit | 08159094121698efe5822e9a79ed9c4a7633a9df (patch) | |
| tree | 3f1c6fcdef475cc1dc47e2f541660ecd324da2fb /core | |
| parent | add internals docs (diff) | |
| download | alive-08159094121698efe5822e9a79ed9c4a7633a9df.tar.gz alive-08159094121698efe5822e9a79ed9c4a7633a9df.zip | |
bugfixes
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! |
