mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
Currently, when calling `free` a slice created by slicing a pointer with comptime-known start and end, a compile-time assertion is hit, because the slicing results in `*[len]T` rather than the expected `[]T`. This commit allows `Allocator.free` to be called on such pointers as well. closes #35712 |
History
|
|
|---|---|---|
| .. | ||
| Allocator.zig | ||