mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Replace references to "global tag" with "tag"
This commit is contained in:
parent
470dddc17b
commit
85e7969c2d
61 changed files with 229 additions and 230 deletions
|
@ -213,10 +213,10 @@ fn loc_ident_pattern_help<'a>(
|
|||
specialize(|_, pos| EPattern::Start(pos), loc!(parse_ident)).parse(arena, state)?;
|
||||
|
||||
match loc_ident.value {
|
||||
Ident::GlobalTag(tag) => {
|
||||
Ident::Tag(tag) => {
|
||||
let loc_tag = Loc {
|
||||
region: loc_ident.region,
|
||||
value: Pattern::GlobalTag(tag),
|
||||
value: Pattern::Tag(tag),
|
||||
};
|
||||
|
||||
// Make sure `Foo Bar 1` is parsed as `Foo (Bar) 1`, and not `Foo (Bar 1)`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue