diff options
| author | gingerBill <bill@gingerbill.org> | 2022-05-25 17:54:05 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-05-25 17:54:05 +0100 |
| commit | 3b54015e80316af8c13fd83f615b64b611508275 (patch) | |
| tree | c759df69ddf1cb11c8966a431a02cf5d16258b2f /src/check_type.cpp | |
| parent | b032d5af87ebe8d9dee28698cfa570d3628e58e5 (diff) | |
Mock out simd intrinsics
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 193c42cde..1df63e599 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -2803,7 +2803,7 @@ bool check_type_internal(CheckerContext *ctx, Ast *e, Type **type, Type *named_t goto array_end; } if (count < 1 || !is_power_of_two(count)) { - error(at->elem, "Invalid length for 'intrinsics.simd_vector', expected a power of two length, got '%lld'", cast(long long)count); + error(at->count, "Invalid length for 'intrinsics.simd_vector', expected a power of two length, got '%lld'", cast(long long)count); *type = alloc_type_array(elem, count, generic_type); goto array_end; } |