diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-10-12 21:54:59 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-10-12 22:03:39 -0700 |
| commit | e6b73be870a39f4da7a08a40da23e38b5e9613da (patch) | |
| tree | b21b81ecc4867273bf864988a8d63bb27b12b6c2 /lib/libc/include/powerpc64le-linux-gnu | |
| parent | 2769215b9037bb1f407e07887d4d21957ce1a9e0 (diff) | |
| download | zig-e6b73be870a39f4da7a08a40da23e38b5e9613da.tar.gz zig-e6b73be870a39f4da7a08a40da23e38b5e9613da.zip | |
Sema: fix crash when coercion dest is var args
When analyzing the `as` ZIR instruction, an assertion would trip if the
result type was a var args function argument. The fix is simple: inline
a little bit of the `resolveType` logic into `analyzeAs` to make it
detect this situation - which it was already attempting to do.
Closes #16197
Diffstat (limited to 'lib/libc/include/powerpc64le-linux-gnu')
0 files changed, 0 insertions, 0 deletions
