diff options
| author | jason <jkercher43@gmail.com> | 2024-08-07 23:27:45 -0400 |
|---|---|---|
| committer | jason <jkercher43@gmail.com> | 2024-08-07 23:27:45 -0400 |
| commit | 96257985137090e75b52f6b4a9474865f8136cd2 (patch) | |
| tree | 20c8f18e143aa0c9c7a39b6c6d27b59e39a41aa6 /src/check_type.cpp | |
| parent | c691c7dc68c517068e024df34ac166fd19d2ea0b (diff) | |
| parent | 796feeead9ef2625351ec6745ce7cbc5dde8a911 (diff) | |
merge commit
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 2 |
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; |