mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-26 11:07:48 +03:00
405 B
405 B
Block on required update
Should block an add
if it requires an update on an in-file dependency.
.> builtins.merge
x = 1
.> add
Update x
, and add a new y
which depends on the update
x = 10
y = x + 1
Try to add only the new y
. This should fail because it requires an update to x
, but we only ran an 'add'.
.> add y