www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5836] New: std.typetuple.staticIndexOf missing %s in call to writefln

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5836

           Summary: std.typetuple.staticIndexOf missing %s in call to
                    writefln
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



13:24:29 PDT ---
Example code is:
    writefln("The index of long is ",
          staticIndexOf!(long, TypeTuple!(int, long, double)));
Should be:
    writefln("The index of long is %s",
          staticIndexOf!(long, TypeTuple!(int, long, double)));

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 11 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5836


kennytm gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kennytm gmail.com
            Summary|std.typetuple.staticIndexOf |std.typetuple.staticIndexOf
                   |missing %s in call to       |'s example code missing %s
                   |writefln                    |in call to writefln



Or change writefln to writeln.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 11 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5836


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



08:22:13 PDT ---
Fixed in 2.054

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