mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
report error for invalid alias argument patterns
This commit is contained in:
parent
474d164a8c
commit
667233a00d
4 changed files with 68 additions and 6 deletions
|
@ -50,6 +50,10 @@ pub enum Problem {
|
|||
annotation_pattern: Region,
|
||||
def_pattern: Region,
|
||||
},
|
||||
InvalidAliasRigid {
|
||||
alias_name: Symbol,
|
||||
region: Region,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue