mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-22 03:22:30 +00:00
move suffixed parsing into chomp_identifier_chain
This commit is contained in:
parent
d988eadbb1
commit
370ac1e6b8
4 changed files with 43 additions and 17 deletions
|
@ -381,7 +381,9 @@ fn loc_ident_pattern_help<'a>(
|
|||
Ok((MadeProgress, loc_pat, state))
|
||||
}
|
||||
}
|
||||
Ident::Access { module_name, parts } => {
|
||||
Ident::Access {
|
||||
module_name, parts, ..
|
||||
} => {
|
||||
// Plain identifiers (e.g. `foo`) are allowed in patterns, but
|
||||
// more complex ones (e.g. `Foo.bar` or `foo.bar.baz`) are not.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue