diff options
| author | FourteenBrush <naessensarthur2@protonmail.com> | 2024-02-02 21:01:52 +0100 |
|---|---|---|
| committer | FourteenBrush <naessensarthur2@protonmail.com> | 2024-02-02 21:01:52 +0100 |
| commit | d463adfe4f7a0687087e6915cdb8b5adac65fa6d (patch) | |
| tree | 51eebf1a4bf65466cb48b11deeac697e99701bc9 /src/check_builtin.cpp | |
| parent | 16bd19ed4399cfa56ee9d7d5d467b0f25cf91646 (diff) | |
| parent | cec08114fdd9812819c10c66cd10f0a9d63866b2 (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/check_builtin.cpp')
| -rw-r--r-- | src/check_builtin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index 09ca0bc23..e1cb43ec1 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -4892,8 +4892,10 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As switch (bt->kind) { case Type_Basic: switch (bt->Basic.kind) { + case Basic_complex32: operand->type = t_f16; break; case Basic_complex64: operand->type = t_f32; break; case Basic_complex128: operand->type = t_f64; break; + case Basic_quaternion64: operand->type = t_f16; break; case Basic_quaternion128: operand->type = t_f32; break; case Basic_quaternion256: operand->type = t_f64; break; } |