mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Fixed indexAccess potentially going awry with bad inputs
There's always one or two that slip through
This commit is contained in:
1
test/scripts/mustfail/index-access-bugfix.toy
Normal file
1
test/scripts/mustfail/index-access-bugfix.toy
Normal file
@@ -0,0 +1 @@
|
||||
"a"[--];
|
||||
@@ -101,6 +101,7 @@ int main() {
|
||||
"declare-types-array.toy",
|
||||
"declare-types-dictionary-key.toy",
|
||||
"declare-types-dictionary-value.toy",
|
||||
"index-access-bugfix.toy",
|
||||
"index-arrays-non-integer.toy",
|
||||
"string-concat.toy",
|
||||
"unary-inverted-nothing.toy",
|
||||
|
||||
Reference in New Issue
Block a user