[Issue 8320] New: metastrings.Format and int array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 29 18:20:12 PDT 2012


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

           Summary: metastrings.Format and int array
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ellery-newcomer at utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2012-06-29 18:22:46 PDT ---
Format does not properly format.

code:

import std.metastrings;
void main() {
    static assert(false, Format!("abc %s", [1,2,3]));

}

produces:

test.d(3): Error: static assert  ['a','b','c',' ','\x01','\x02','\x03']

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


More information about the Digitalmars-d-bugs mailing list