From 7d0d0eb69589ab8e0c8b036a3b642593a372b041 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 23 Aug 2026 20:01:55 +0200 Subject: Determine array type by the first element --- testsuite/runnable/slice_cast.elna | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/runnable/slice_cast.elna') diff --git a/testsuite/runnable/slice_cast.elna b/testsuite/runnable/slice_cast.elna index 7c43959..ca093db 100644 --- a/testsuite/runnable/slice_cast.elna +++ b/testsuite/runnable/slice_cast.elna @@ -1,5 +1,5 @@ var - ints: [4]Int32 := [4]Int32{ 1i32, 2i32, 3i32, 4i32 } + ints: [4]Int32 := [1i32, 2i32, 3i32, 4i32] begin assert(cast(ints[1u to 4u]: []Int8).length = #size(Int32) * ints.length) -- cgit v1.2.3