Patched some very obscure bugs

This commit is contained in:
2023-02-12 16:54:44 +00:00
parent 8653a2663f
commit 9725f3c6a3
9 changed files with 112 additions and 13 deletions

View File

@@ -0,0 +1,15 @@
/*
This ensures that when indexing on both sides of an assignment,
it works correctly.
*/
var a = [1, 2, 3];
var b = [4, 5, 6];
a[1] = b[1];
assert a == [1, 5, 3], "index assignment both failed";
print "All good";