unison/unison-src/transcripts/block-on-required-update.md
2022-01-16 18:25:50 -06:00

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