[Issue 10683] New: std.range.join of an array of array of tuple of string
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jul 20 11:38:03 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10683
Summary: std.range.join of an array of array of tuple of string
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2013-07-20 11:38:02 PDT ---
import std.typecons: tuple;
import std.range: join;
void main() {
auto r1 = [[tuple(1)]].join; // OK
auto r2 = [[tuple("x")]].join; // Error
}
DMD 2.064alpha gives:
core.exception.AssertError at std.algorithm(1923): Assertion failure
I think this used to work.
--
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