aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/slice_cast_change_len.zig
AgeCommit message (Collapse)Author
2025-05-19Sema: allow `@ptrCast` single-item pointer to slicemlugg
Also, rework this logic a little to make it simpler. The length of the result slice is now computed in one place.
2025-02-23Sema: allow `@ptrCast` of slices changing the lengthmlugg
Also, refactor `Sema.ptrCastFull` to not be a horrifying hellscape.