From f743571184dac85cb51cfa3a7db24624c4ad1479 Mon Sep 17 00:00:00 2001 From: dweiller <4678790+dweiller@users.noreply.github.com> Date: Tue, 7 Nov 2023 20:19:59 +1100 Subject: [PATCH] sema: allow slicing [*]T without end --- doc/langref.html.in | 6 +++++- src/Sema.zig | 2 +- test/behavior/slice.zig | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 2 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 83215b59ea1f..72e23a1011dd 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -2649,7 +2649,7 @@ test "Conversion between vectors, arrays, and slices" {
  • {#syntax#}[*]T{#endsyntax#} - many-item pointer to unknown number of items.