mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
541 B
541 B
scratch/main> builtins.merge lib.builtin
unique type Foo = Bar Nat
structural type A.B = OneAlias Foo
structural type A = B.TheOtherAlias Foo
scratch/main> add
unique type Foo = Bar Nat Nat
Bug: we want this update to be rejected earlier, because it violates the "decl coherency" precondition that there's only one name for each constructor. We instead get too far in the update process, and are delivered a bogus scratch.u file to stare at.
scratch/main> update