mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Proper checkpointing of mutable values
This commit is contained in:
parent
801df67461
commit
04c6683de8
14 changed files with 243 additions and 23 deletions
17
test/tests/merge nested mutable.ans
Normal file
17
test/tests/merge nested mutable.ans
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
:post run = "check"
|
||||
|
||||
:a = [1]
|
||||
:b = [2]
|
||||
|
||||
~ a!insert(b)
|
||||
|
||||
§ c
|
||||
|
||||
~ b!insert(3)
|
||||
|
||||
§ d
|
||||
|
||||
~ a!insert(4)
|
||||
|
||||
$ check
|
||||
\[1,\[2,3],4]: {a}
|
||||
Loading…
Add table
Add a link
Reference in a new issue