Lower if/else expressions #83
Labels
No labels
bug
design
epic
risk
user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jacksonopp/twill#83
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Depends on #4.
Lower
if/elseusing Cranelift basic blocks and branches.Twill's
if/elseis a value-producing expression (it has a type), not just a statement - so this needs a merge block that carries the taken branch's value forward as a block parameter, not just two blocks with no shared result. Cover both the with-elseand without-else(implicitUnit) forms.