slicing syntax which can obtain sentinel terminated types from non-sentinel-terminated types #3770
Closed
1 of 3 tasks
Labels
Milestone
Moved from #3731.
Along with this:
index of a sentinel-terminated array which is comptime-known to be len, is a comptime-known value when loading. no-op with safety check when storing.extracted to improved handling of index of a sentinel-terminated array which is comptime-known to be len #3962compile error for incorrect sentinel when doing sentinel slicingextracted to add compile error for sentinel assertion failed #3963There are already quite a few places this would be handy:
The text was updated successfully, but these errors were encountered: