Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enforce default as the *last* branch of cond expression #338

@Jacajack

Description

@Jacajack

Feature description

Currently, default is allowed at any place inside the cond expression. This may be counterintuitive in practice, because other conditions are checked top-to-bottom. Perhaps we should enforce that default is always in the last branch?

Metadata

Metadata

Assignees

Labels

analyzerRelated to semantic & design analyzersdiscussTo be discussedenhancementNew feature or requestnice to haveOnly if we have time

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions