From 7b649ef118e21dae8707f5ee613e88276f27b5d5 Mon Sep 17 00:00:00 2001 From: Huw Walters Date: Sun, 8 Dec 2024 08:52:09 +0000 Subject: [PATCH] Add comment to integer indexing test. --- src/tests/validity/array_get_index_local.ab | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/validity/array_get_index_local.ab b/src/tests/validity/array_get_index_local.ab index 81aa78e3..9ad9dd92 100644 --- a/src/tests/validity/array_get_index_local.ab +++ b/src/tests/validity/array_get_index_local.ab @@ -11,6 +11,7 @@ // Value at 4: "" main { + // Do not use loop; we want to test compile time arithmetic. let array = ["zero", "one", "two", "three"] echo "Value at -5: \"{array[-5]}\"" echo "Value at -4: \"{array[-4]}\""