aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
authorjakubtomsu <66876057+jakubtomsu@users.noreply.github.com>2023-10-25 20:23:24 +0200
committerjakubtomsu <66876057+jakubtomsu@users.noreply.github.com>2023-10-25 20:23:24 +0200
commit625cb032841c86d046d0ceb8123936bd393785ea (patch)
tree06455c329d9cad0b0385bd48dc23331ac1eef763 /src/check_builtin.cpp
parent2f8d60ec47b32206172839c2d96b66cb872985be (diff)
Rename type_union_tag to type_union_tag_type
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index 7cadf49a0..5907b30e3 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -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));