mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
implement canonicalization error when signature pattern does not match definition pattern.
This commit is contained in:
parent
5c81b46d1c
commit
0cfb16c7d5
4 changed files with 55 additions and 1 deletions
|
@ -46,6 +46,10 @@ pub enum Problem {
|
|||
replaced_region: Region,
|
||||
},
|
||||
RuntimeError(RuntimeError),
|
||||
SignatureDefMismatch {
|
||||
annotation_pattern: Region,
|
||||
def_pattern: Region,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue