aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-08-05 12:04:36 +0100
committergingerBill <bill@gingerbill.org>2024-08-05 12:04:36 +0100
commita06cb8ba46e8a116c8968565eef055fc56ec298e (patch)
tree8ed06e20dfdf2a590cb601c4ede98e781a0a8283 /src/check_type.cpp
parent7e0fa795e4cb86300bf324f6e0f59279578eefe1 (diff)
Add `#simd[N]rawptr` support
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index 428fe8451..41de8ccce 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -3171,7 +3171,7 @@ gb_internal void check_array_type_internal(CheckerContext *ctx, Ast *e, Type **t
} else if (name == "simd") {
if (!is_type_valid_vector_elem(elem) && !is_type_polymorphic(elem)) {
gbString str = type_to_string(elem);
- error(at->elem, "Invalid element type for #simd, expected an integer, float, or boolean with no specific endianness, got '%s'", str);
+ error(at->elem, "Invalid element type for #simd, expected an integer, float, boolean, or 'rawptr' with no specific endianness, got '%s'", str);
gb_string_free(str);
*type = alloc_type_array(elem, count, generic_type);
return;