the following code emits an exit instruction in the runtime code
totalShares: public(uint256)
# Set up the company.
@deploy
def __init__(_total_shares: uint256):
pass
running vyper --experimental-codegen -f bb_runtime gives:
fallback: IN=[__main_entry, 47_if_exit] OUT=[] => {}
revert 0, 0
exit
Originally posted by @sandbubbles in #4314 (comment)
this isn't a big deal since the exit gets optimized out, but we should remove it as a matter of well-formedness.
the following code emits an
exitinstruction in the runtime coderunning
vyper --experimental-codegen -f bb_runtimegives:Originally posted by @sandbubbles in #4314 (comment)
this isn't a big deal since the
exitgets optimized out, but we should remove it as a matter of well-formedness.