Skip to content

Algorithm return arc is not passed to dataflow function #30

@JustusAdam

Description

@JustusAdam

I wrote a short test for recursion where the entire algorithm only consists of calling the recursive function.

This means after compilation that the recursion operator recur is the last operator in the algorithm, in the sense that its output arc is the output of the #[ohua] invokation itself.

However when I attempt to run this my generated recur_1 function is missing an argument. more precisely it is missing the argument for the channel into which it is supposed to send the result of the computation.
I was able to work around by simply wrapping the entire thing in a ohua::lang::id call, after which the missing argument was correctly provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions