summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/array.typ
diff options
context:
space:
mode:
authorLeedehai <18319900+Leedehai@users.noreply.github.com>2024-02-11 08:08:43 -0500
committerGitHub <noreply@github.com>2024-02-11 13:08:43 +0000
commit17d687b6a2ea510759d798a03bb80c507ade573e (patch)
tree15950b2ab65a5da826be9aaa476c45ad9742c945 /tests/typ/compiler/array.typ
parenta1f111dfa6b2dd7771addb02d094a39a490d36ac (diff)
Better errors for array/dictionary method calls that return mutable (#3370)
Diffstat (limited to 'tests/typ/compiler/array.typ')
-rw-r--r--tests/typ/compiler/array.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/compiler/array.typ b/tests/typ/compiler/array.typ
index 67b8abc3..9ff29480 100644
--- a/tests/typ/compiler/array.typ
+++ b/tests/typ/compiler/array.typ
@@ -54,7 +54,7 @@
// Test lvalue out of bounds.
#{
let array = (1, 2, 3)
- // Error: 3-14 array index out of bounds (index: 3, len: 3) and no default value was specified
+ // Error: 3-14 array index out of bounds (index: 3, len: 3)
array.at(3) = 5
}