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

           Summary: format.d(2072) uses deprecated function
           Product: D
           Version: 2.030
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: rin...@gmail.com


testcase:
------------------------------
import std.stdio;
struct A(T)
{
    T[] datas;
    alias datas this;
}
void main()
{
    A!uint a;
    writeln(a);
}
------------------------------

compiler warning:

toString(uint[]) called from
D:\dmd\dmd\windows\bin\..\..\src\phobos\std\format.d(2072) is deprecated.
Instead you may want to import std.conv and use to!string(x) instead of
toString(x).

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

Reply via email to