Enforce default
as the *last* branch of cond
expression
#338
Labels
analyzer
Related to semantic & design analyzers
discuss
To be discussed
enhancement
New feature or request
nice to have
Only if we have time
Feature description
Currently,
default
is allowed at any place inside thecond
expression. This may be counterintuitive in practice, because other conditions are checked top-to-bottom. Perhaps we should enforce thatdefault
is always in the last branch?The text was updated successfully, but these errors were encountered: