mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
remove Nested from pattern
This commit is contained in:
parent
197835b6ed
commit
2827af7e59
5 changed files with 6 additions and 23 deletions
|
@ -238,7 +238,7 @@ pub fn canonicalize_pattern<'a>(
|
|||
ptype => unsupported_pattern(env, ptype, region),
|
||||
},
|
||||
|
||||
SpaceBefore(sub_pattern, _) | SpaceAfter(sub_pattern, _) | Nested(sub_pattern) => {
|
||||
SpaceBefore(sub_pattern, _) | SpaceAfter(sub_pattern, _) => {
|
||||
return canonicalize_pattern(env, var_store, scope, pattern_type, sub_pattern, region)
|
||||
}
|
||||
RecordDestructure(patterns) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue