Files
not-python-rust/tests/map.npp.expect
Alek Ratzloff 283eaa1ebe Add index assignment and augmented assignment
This allows for syntax like `foo['a'] = 1` and more complex assignments
like `foo.bar()[a() + b()] += 1`

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2024-10-18 22:03:10 -07:00

10 lines
74 B
Plaintext

to_str
[:]
['a': 1]
['b': 4]
__index_assign__
['a': 1]
['a': 2]
['a': 3]