Skip to content

Refactor control stack to support complex control flow #287

Closed
@clearloop

Description

@clearloop

when we have return logic which is not at the end of function, it could be trigged incorrectly since the jump target for the end of the control frame is not correctly calculated, see the details at https://github.com/zink-lang/zink/blob/main/examples/br_balance.rs#L17

this could be the last fragment to ERC20

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingrefactorThis issue requires a refactor to the design

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions