diff options
| author | John Schmidt <john.schmidt.h@gmail.com> | 2023-03-08 23:13:37 +0100 |
|---|---|---|
| committer | John Schmidt <john.schmidt.h@gmail.com> | 2023-03-09 00:55:33 +0100 |
| commit | 0606f0aa5576122204886f1a3c9530c0ce75c044 (patch) | |
| tree | 8e1c9cf9b000a60d4f98aafeb318f6814bea52a7 /src/Compilation.zig | |
| parent | 505e720421ce4f7ed11730fe68d32e3bba711f3c (diff) | |
| download | zig-0606f0aa5576122204886f1a3c9530c0ce75c044.tar.gz zig-0606f0aa5576122204886f1a3c9530c0ce75c044.zip | |
sema: fix result ptr coercion array -> vector
Previously this worked for array to vector where the element type
matched exactly (e.g `[4]u8` to `@Vector(4, u8)`) since that is
performed with a simple `.bitcast` operation, but now it also works for
types where the array is coercible to the vector type (e.g `[4]u8` to
`@Vector(4, u16)`).
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
