fix parsing lists in tag patterns

This commit is contained in:
Luke Boswell 2024-04-21 13:27:50 +10:00
parent 4cf256c6b7
commit 6844df6c37
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
4 changed files with 59 additions and 0 deletions

View file

@ -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())
)
}