unison
unison copied to clipboard
Docs no longer render record types with named fields
Including a record type in the @source{} element used to render the record type with its named fields. There may have been a regression such that the docs or display command no longer render the record type as a record.
I've also attached this as a transcript.
scratch/main> builtins.mergeio
type Blah = {
foo: Nat,
bar: Text
}
testRecord = {{
This is a doc with a record type
@source{type Blah}
}}
View works great!
scratch/main> add
scratch/main> view Blah
The docs or display command is where it does not render:
scratch/main> display testRecord
Environment (please complete the following information):
unison version: release/0.5.29 (built on 2024-12-02)- OS/Architecture: macOS 14.5, M1
Additional context