[Issue 10363] New: DDOC macro argument with the same name as the function doesn't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 15 12:10:05 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10363

           Summary: DDOC macro argument with the same name as the function
                    doesn't work
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: doob at me.com


--- Comment #0 from Jacob Carlborg <doob at me.com> 2013-06-15 12:10:04 PDT ---
/// 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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list