mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Canonicalization of list patterns
This commit is contained in:
parent
55ea3bbea2
commit
b0a8b85de3
13 changed files with 189 additions and 4 deletions
|
@ -185,6 +185,9 @@ pub enum Problem {
|
|||
UnnecessaryOutputWildcard {
|
||||
region: Region,
|
||||
},
|
||||
MultipleListRestPattern {
|
||||
region: Region,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
|
@ -375,4 +378,5 @@ pub enum MalformedPatternProblem {
|
|||
BadIdent(roc_parse::ident::BadIdent),
|
||||
EmptySingleQuote,
|
||||
MultipleCharsInSingleQuote,
|
||||
DuplicateListRestPattern,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue