[Issue 9474] Ddoc'd unittests should work correctly with ditto

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 7 15:43:50 PST 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-07 15:43:48 PST ---
I'm not sure what you mean exactly. When I test this:

/**
 * Documented function
 */
void documentedFunction() {  }

/// Documented unittest
unittest
{
    documentedFunction();
}

/// ditto
void documentedFunction(int a) {
    // This is an overload of the no-args documentedFunction.
}

$ dmd -D -o- test.d

The output I get is:

void documentedFunction();
void documentedFunction(int a);
    Documented function

    Example:

    documentedFunction();

What should the output be?

-- 
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