From 1c2fb173ea3b674207badc721556ad72962b266e Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 2 Aug 2026 17:05:34 +0200 Subject: Check array property accessbility at compile time --- testsuite/runnable/slice_equality.elna | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/runnable/slice_equality.elna') diff --git a/testsuite/runnable/slice_equality.elna b/testsuite/runnable/slice_equality.elna index 1969088..712ae7a 100644 --- a/testsuite/runnable/slice_equality.elna +++ b/testsuite/runnable/slice_equality.elna @@ -3,8 +3,8 @@ var lhs, rhs: []Int begin - lhs := lhs_payload.ptr[1 to 3]; - rhs := rhs_payload.ptr[1 to 3]; + lhs := lhs_payload[1 to 3]; + rhs := rhs_payload[1 to 3]; assert(lhs = rhs) end. -- cgit v1.2.3