mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Empty records are exhaustive
This commit is contained in:
parent
38fd9e8286
commit
5be9a001e3
1 changed files with 1 additions and 1 deletions
|
@ -117,8 +117,8 @@ impl Pattern {
|
|||
| UnsupportedPattern(..)
|
||||
| MalformedPattern(..)
|
||||
| AbilityMemberSpecialization { .. } => true,
|
||||
RecordDestructure { destructs, .. } => destructs.is_empty(),
|
||||
AppliedTag { .. }
|
||||
| RecordDestructure { .. }
|
||||
| NumLiteral(..)
|
||||
| IntLiteral(..)
|
||||
| FloatLiteral(..)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue