mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +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
|
@ -2048,7 +2048,7 @@ fn insert_tags_fast_path<'a>(
|
|||
tags: &'a [(TagName, Vec<Type>)],
|
||||
stack: &mut bumpalo::collections::Vec<'_, TypeToVar<'a>>,
|
||||
) -> UnionTags {
|
||||
if let [(TagName::Global(tag_name), arguments)] = tags {
|
||||
if let [(TagName::Tag(tag_name), arguments)] = tags {
|
||||
let variable_slice = register_tag_arguments(subs, rank, pools, arena, stack, arguments);
|
||||
let new_variable_slices =
|
||||
SubsSlice::extend_new(&mut subs.variable_slices, [variable_slice]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue