diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-02-23 22:16:25 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-02-28 12:22:25 +0000 |
| commit | 0b284ac60916142cadb8b65fa5ca9f9cffcfc200 (patch) | |
| tree | 07fc75330d813d54751f42a2f55b979398929814 /core/invoke.moon | |
| parent | merge Const and Stream into Value; Dataflow logic (diff) | |
| download | alive-0b284ac60916142cadb8b65fa5ca9f9cffcfc200.tar.gz alive-0b284ac60916142cadb8b65fa5ca9f9cffcfc200.zip | |
lots of fixes
Diffstat (limited to 'core/invoke.moon')
| -rw-r--r-- | core/invoke.moon | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/invoke.moon b/core/invoke.moon index a3932f8..da82d00 100644 --- a/core/invoke.moon +++ b/core/invoke.moon @@ -10,13 +10,15 @@ class op_invoke extends Action def = head\unwrap 'opdef', "cant op-invoke #{@head}" @head, @op = head, def! + @first = true true eval: (scope, tail) => children = L\push -> [L\push expr\eval, scope for expr in *tail] @op\setup [child.value for child in *children] - @op\tick true + @op\tick @first + @first = nil Result :children, value: @op.out, op: @op |
