-
Notifications
You must be signed in to change notification settings - Fork 470
Closed
Labels
bugSomething isn't workingSomething isn't workingcompilationCompilation of terms and functions to HVMCompilation of terms and functions to HVM
Description
Reproducing the behavior
We want programs like the following to actually execute the functions in the list
def main():
return [
do_thing1,
do_thing2,
do_thing3,
]This currently works for some things, like tuples, raw references or references behind lambdas, but not for lists or other constructors.
This leads to confusion for users, since they need to actually use those references for something, otherwise the functions are never executed. This is especially tricky in cases like the above, where we don't want to use the values, just return them.
System Settings
Bend commit 060239a
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcompilationCompilation of terms and functions to HVMCompilation of terms and functions to HVM