Open aryairani opened 1 month ago
Maybe I'm missing something, but it looks like the doc renderer does call prettyDataDecl
which calls getFieldAndAccessorNames
, so something more subtle is going wrong, which may hopefully not require a bunch of extra plumbing.
https://github.com/unisonweb/unison/blob/trunk/unison-share-api/src/Unison/Server/Doc.hs#L249 https://github.com/unisonweb/unison/blob/trunk/parser-typechecker/src/Unison/Syntax/DeclPrinter.hs#L135
reported by @etorreborre
Input:
I expected
display README
to show record syntax likeview Record
, but it doesn't.I expected
display README
to show record syntax likeview Record
, but it doesn't.