Functional record update is broken for nested records
ligo version 0.68.0
How to reproduce:
run the following command ligo run evaluate-call ./update.mligo test '()'
expected result is that inner bar
and foo
fields get updated to 5n
, but only bar
field gets updated and assertion fails on foo
field.
It used to work in some earlier ligo versions.