-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
Pretty much a wholesale lift from Rust, allow
if val CaseName(identifier) = enum_value {
[...]
}
which is sugar for
match enum_value {
case CaseName(identifier) => { ... }
}
As such, it could support an else clause, and probably even multiple elsif val clauses, all compiling down to a match statement
Reactions are currently unavailable