User-defined subscript operators.

This commit is contained in:
Bob Nystrom
2015-01-20 18:25:54 -08:00
parent 311bec5b03
commit 9453acf1e6
3 changed files with 78 additions and 30 deletions
-2
View File
@@ -21,5 +21,3 @@
list[-3] = 7
IO.print(list) // expect: [7, 6, 5]
}
// TODO: Not in this dir, but need tests for subscript setter grammar.