Open cgranade opened 4 years ago
@cgranade It may make more sense to tack this on docs, since I believe we will need an addition/change to our scheme to support docs for named items. Or did you have a solution within the current scheme in mind?
I believe this one is a bug with how we currently populate the syntax
field of our output YAML. If so, then this is under our control, by contrast with #113.
@cgranade Do you want to pick it up then?
Describe the bug
The syntax block in reference documentation for UDTs does not include named items, instead providing the declaration of a UDT that can only be used by unwrapping.
Screenshots
The reference documentation for
Microsoft.Quantum.Math.Complex
does not agree with its declaration asnewtype Complex = (Real: Double, Imag: Double)
in the runtime source fileMath/Types.qs
.Additional context
This is related to but distinct from #113 in that this issue prevents the syntax block from appearing correctly, while #113 tracks the ability to provide additional information about named items in a fashion similar to inputs.