Thread overview
[Issue 5836] New: std.typetuple.staticIndexOf missing %s in call to writefln
Apr 11, 2011
Andrej Mitrovic
[Issue 5836] std.typetuple.staticIndexOf's example code missing %s in call to writefln
Apr 11, 2011
kennytm@gmail.com
Jul 11, 2011
Andrej Mitrovic
April 11, 2011
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


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-04-11 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: -------
April 11, 2011
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


--- Comment #1 from kennytm@gmail.com 2011-04-11 13:35:05 PDT ---
Or change writefln to writeln.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 11, 2011
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


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-07-11 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: -------