0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test/behavior/slice.zig
Justus Klausecker adef113102 Sema: allow coercion from []T to *[n]T if length is comptime-known
A comptime-known `[]T` should behave as similarly as possible to a comptime-
known `*[n]T`. It is now possible to coerce the former to the latter if
their length matches.
2026-08-02 14:41:10 +02:00

1173 lines
37 KiB