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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |rg

--- Comment #21 from [email protected] ---
Reduced test case without phobos that still fails with current dmd:

=============================================
// stdx/conv.d:

void to(T)(uint args)
{
    toChars!10(args);
}

alias CodepointSet = InversionList!();

struct InversionList()
{
    void toSourceCode()
    {
        toChars(0u);
    }
}

void toChars(ubyte radix = 10, T)(T) {}

=============================================
// test.d:

void main()
{
    import stdx.conv;
    to!string(0u);
    CodepointSet().toSourceCode();
}
=============================================

dmd -c stdx/conv.d
dmd test.d conv.o

--

Reply via email to