Should the EntryPoint function return a value? #15
LaurentAjdnik
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
EntryPoint
function was first introduced with avoid
return type.Should it return a value?
If so, what would this value be?
i1
boolean forsuccess
orerror
?i64
integer out of a predefined list of possible values?i64
integer with specific values enforced by the simulator/backend?Note: The Base Profile does not allow for branching. Hence, how could a return value be set? Still:
icmp
orselect
for instanceBeta Was this translation helpful? Give feedback.
All reactions