aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-05-19 11:18:20 +0100
committergingerBill <bill@gingerbill.org>2023-05-19 11:18:20 +0100
commit2631e07beab29558249341c329c69bb604dd61fb (patch)
tree8bd29f9d3e88f38609899833e62dffc8acdc9299 /src/check_expr.cpp
parent76a1851cb80a181a24140efedf8914d3cedc8051 (diff)
Add `intrinsics.type_merge`
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 0db12aba0..1552b1ef5 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -1067,7 +1067,7 @@ gb_internal void check_assignment(CheckerContext *c, Operand *operand, Type *typ
if (check_is_assignable_to(c, operand, type)) {
if (operand->mode == Addressing_Type && is_type_typeid(type)) {
- add_type_info_type(c, operand->type);
+ add_type_info_type(c, operand->type);
add_type_and_value(c, operand->expr, Addressing_Value, type, exact_value_typeid(operand->type));
}
} else {