mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-21 19:19:45 +00:00
fix parsing lists in tag patterns
This commit is contained in:
parent
4cf256c6b7
commit
6844df6c37
4 changed files with 59 additions and 0 deletions
|
@ -205,6 +205,7 @@ fn loc_parse_tag_pattern_arg<'a>() -> impl Parser<'a, Loc<Pattern<'a>>, EPattern
|
|||
crate::pattern::record_pattern_help()
|
||||
)),
|
||||
loc!(string_like_pattern_help()),
|
||||
loc!(specialize_err(EPattern::List, list_pattern_help())),
|
||||
loc!(number_pattern_help())
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue