digitalmars.D.bugs - [Issue 8320] New: metastrings.Format and int array
- d-bugmail puremagic.com (24/24) Jun 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8320
- d-bugmail puremagic.com (11/11) Dec 26 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8320
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 puremagic.com ReportedBy: ellery-newcomer utulsa.edu 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: -------
Jun 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8320 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com 15:36:24 PST --- Workaround: in 2.061 you can use format() from std.string at compile-time. In 2.060 you can use xformat() instead. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 26 2012