D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 10363 - DDOC macro argument with the same name as the function doesn't work
Summary: DDOC macro argument with the same name as the function doesn't work
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P3 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-15 12:10 UTC by Jacob Carlborg
Modified: 2024-12-13 18:08 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 Jacob Carlborg 2013-06-15 12:10:04 UTC
/// Macro:
/// XREF4 = <a href="std_$1_$2_$3.html#$4">$(D std.$1.$2.$3.$4)</a>
module foo;

/// See_Also: $(XREF4 serialization, archives, archive, Archive)
void archive () { }

The above generates the following documentation:

archive.html#Archive">std.serialization.archives.archive.Archive

The problem is that "archive" is the name of the function and it's also present as an argument to the XREF4 macro.
Comment 1 dlangBugzillaToGithub 2024-12-13 18:08:12 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/18609

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB