Bug 10363 – DDOC macro argument with the same name as the function doesn't work

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-15T12:10:04Z
Last change time
2024-12-13T18:08:12Z
Assigned to
No Owner
Creator
Jacob Carlborg
Moved to GitHub: dmd#18609 →

Comments

Comment #0 by doob — 2013-06-15T12:10:04Z
/// 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 by robert.schadek — 2024-12-13T18:08:12Z
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