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

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #22 from RazvanN <[email protected]> ---
(In reply to moonlightsentinel from comment #21)
> 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

I cannot reproduce this.

--

Reply via email to