aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/check_builtin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index 35720c914..7f9f4ab13 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -3692,6 +3692,9 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
case Type_SimdVector:
operand->type = alloc_type_multi_pointer(base_array_type(base));
break;
+ case Type_Matrix:
+ operand->type = alloc_type_multi_pointer(base->Matrix.elem);
+ break;
}
}
break;