mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 14:35:12 +00:00
Report errors for identifiers not bound in all patterns of a branch
This commit is contained in:
parent
ce8b50caea
commit
78dc82867a
6 changed files with 154 additions and 20 deletions
|
@ -165,6 +165,10 @@ pub enum Problem {
|
|||
ability: Symbol,
|
||||
not_implemented: Vec<Symbol>,
|
||||
},
|
||||
NotBoundInAllPatterns {
|
||||
unbound_symbol: Symbol,
|
||||
region: Region,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue