unison/unison-src/transcripts/update-type-delete-record-field.md
2024-06-25 11:11:07 -07:00

377 B

scratch/main> builtins.merge lib.builtin
unique type Foo = { bar : Nat, baz : Int }
scratch/main> add
unique type Foo = { bar : Nat }

We want the field accessors to go away; but for now they are here, causing the update to fail.

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