mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51: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
|
@ -512,7 +512,7 @@ fn test_at_path<'a>(
|
|||
render_as: RenderAs::Tag,
|
||||
alternatives: vec![Ctor {
|
||||
tag_id: TagId(0),
|
||||
name: CtorName::Tag(TagName::Global(RECORD_TAG_NAME.into())),
|
||||
name: CtorName::Tag(TagName::Tag(RECORD_TAG_NAME.into())),
|
||||
arity: destructs.len(),
|
||||
}],
|
||||
};
|
||||
|
@ -532,7 +532,7 @@ fn test_at_path<'a>(
|
|||
|
||||
IsCtor {
|
||||
tag_id: 0,
|
||||
ctor_name: CtorName::Tag(TagName::Global(RECORD_TAG_NAME.into())),
|
||||
ctor_name: CtorName::Tag(TagName::Tag(RECORD_TAG_NAME.into())),
|
||||
union,
|
||||
arguments,
|
||||
}
|
||||
|
@ -685,7 +685,7 @@ fn to_relevant_branch_help<'a>(
|
|||
tag_id,
|
||||
..
|
||||
} => {
|
||||
debug_assert!(test_name == &CtorName::Tag(TagName::Global(RECORD_TAG_NAME.into())));
|
||||
debug_assert!(test_name == &CtorName::Tag(TagName::Tag(RECORD_TAG_NAME.into())));
|
||||
let sub_positions = destructs.into_iter().enumerate().map(|(index, destruct)| {
|
||||
let pattern = match destruct.typ {
|
||||
DestructType::Guard(guard) => guard.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue