Check if/else expressions #54
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#54
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?
Type-check Expr::If -- cond must be Bool. When else_branch is present, both branches must agree on their result type, which becomes the if's type; when it's absent, the if's type is Unit, mirroring Expr::Block's trailing-expr-less case.