Rename type_union_tag to type_union_tag_type

This commit is contained in:
jakubtomsu
2023-10-25 20:23:24 +02:00
parent 2f8d60ec47
commit 625cb03284
4 changed files with 277 additions and 5 deletions
+1 -1
View File
@@ -5138,7 +5138,7 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
}
break;
case BuiltinProc_type_union_tag:
case BuiltinProc_type_union_tag_type:
{
if (operand->mode != Addressing_Type) {
error(operand->expr, "Expected a type for '%.*s'", LIT(builtin_name));