digitalmars.D.bugs - [Issue 1548] New: foreach of type tuple and string literal bug
- d-bugmail puremagic.com (25/25) Oct 07 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1548
- d-bugmail puremagic.com (5/5) Oct 07 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1548
- d-bugmail puremagic.com (7/7) Oct 08 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1548
http://d.puremagic.com/issues/show_bug.cgi?id=1548 Summary: foreach of type tuple and string literal bug Product: D Version: 2.005 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: sugiyama563 msn.com import std.stdio; void main(){ writefln(join("123", "456")); } string[] join(T ...)(T t){ string[] a; foreach(e; t){ a ~= e; } return a; } The return value of function 'join' is broken. --
Oct 07 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1548 ------- Comment #1 from sugiyama563 msn.com 2007-10-07 10:39 ------- I'm sorry. This is not a bug. --
Oct 07 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1548 matti.niemenmaa+dbugzilla iki.fi changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --
Oct 08 2007