1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-28 09:09:31 +00:00

Cache read values in local state, handle mutable variables properly

This commit is contained in:
Étienne Fildadut 2021-12-02 21:07:47 +01:00
parent 607313d5ce
commit 0f89307d5f
9 changed files with 258 additions and 7 deletions

View file

@ -0,0 +1,26 @@
:post run = "after error"
:l = [1,2]
1,2: {l}
~ l.insert(3)
1,2,3: {l}
§ a
~ l.insert(4)
1,2,3,4: {l}
§ b
~ l.insert(5)
1,2,3,4,5: {l}
~ error("cancel merge")
$ after error
1,2,3,4: {l}