[Issue 9082] New: join should accept types which are not ranges as the separator
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 27 04:05:06 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9082
Summary: join should accept types which are not ranges as the
separator
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-11-27 04:05:05 PST ---
int[] arr = [1, 2, 3].join(0); // fail
Expected:
[1, 0, 2, 0, 3]
This should work with any separator type if it's the element type of the range.
--
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