[Issue 16992] ddoc does not match documented unittest with static template method

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 16 17:36:33 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=16992

--- Comment #10 from Nick Treleaven <nick at geany.org> ---
(In reply to RazvanN from comment #2)
> It seems that the documentation builder has a problem with static methods.
> After erasing the static keyword from one method, the documentation appeared
> as usual.

It only happens when the method is a template. Reduced test case:

struct Date
{
    ///
    static void fromISOString()()
    {}

    ///
    unittest
    {
        // hi
    }
}

--


More information about the Digitalmars-d-bugs mailing list