D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20619 - ddox documentation "auto auto" return values
Summary: ddox documentation "auto auto" return values
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: x86 Windows
: P3 minor
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-27 15:00 UTC by John Hall
Modified: 2023-02-08 19:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description John Hall 2020-02-27 15:00:59 UTC
The ddox documentation has some functions (see [1] and [2]) with return values of "auto auto". However, this does not happen with the other documentation (see [3] and [4], respectively). 

While I noticed this issue within the std.conv package, it is not limited to that and a google search for "auto auto" site:https://dlang.org/library/ reveals 220 results. Looking at a few of these issues, it appears that this happens when there are no attributes in the functions.  I did not see an example of this when it is a non-templated function, but I did not look that hard. I did not see the issue when looking at other functions in phobos that have attributes.

[1] https://dlang.org/library/std/conv/unsigned.html
[2] https://dlang.org/library/std/conv/signed.html
[3] https://dlang.org/phobos/std_conv.html#unsigned
[4] https://dlang.org/phobos/std_conv.html#signed
Comment 1 John Hall 2022-05-05 17:53:38 UTC
I think this issue has been fixed. Links aren't showing the "auto auto" anymore.