Report errors for identifiers not bound in all patterns of a branch

This commit is contained in:
Ayaz Hafiz 2022-07-21 12:15:05 -04:00
parent ce8b50caea
commit 78dc82867a
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
6 changed files with 154 additions and 20 deletions

View file

@ -165,6 +165,10 @@ pub enum Problem {
ability: Symbol,
not_implemented: Vec<Symbol>,
},
NotBoundInAllPatterns {
unbound_symbol: Symbol,
region: Region,
},
}
#[derive(Clone, Debug, PartialEq)]