unison/unison-src/transcripts/update-type-constructor-alias.md
2024-06-25 11:11:07 -07:00

348 B

scratch/main> builtins.merge lib.builtin
unique type Foo = Bar Nat
scratch/main> add
scratch/main> alias.term Foo.Bar Foo.BarAlias
unique type Foo = Bar Nat Nat

Bug: we leave Foo.BarAlias in the namespace with a nameless decl.

scratch/main> update
scratch/main> find.verbose