unison/unison-src/transcripts/isPropagated-exists.md
2021-02-10 22:41:36 -05:00

651 B

This transcript tests that UCM can always access the definition of IsPropagated/isPropagated, which is used internally.

.> alias.term ##Nat.+ +
.> alias.type ##Nat Nat

y depends on x,

x = 3
y = x + 1
.> add

so the update of x causes a propagated update of y, and UCM links the isPropagated metadata to such resulting terms:

x = 4
.> update
.> links y
.> view 1

Well, it's hard to tell from those hashes, but those are right. We can confirm by running builtins.merge to have UCM add names for them.

.> builtins.merge
.> links y
.> view 1