digitalmars.D.bugs - [Issue 11196] New: `std.range.zip` fails to compile if range elements aren't default contructable
- d-bugmail puremagic.com (31/31) Oct 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11196
- d-bugmail puremagic.com (6/6) Oct 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11196
- d-bugmail puremagic.com (14/14) Oct 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11196
- d-bugmail puremagic.com (9/9) Oct 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11196
http://d.puremagic.com/issues/show_bug.cgi?id=11196 Summary: `std.range.zip` fails to compile if range elements aren't default contructable Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: Phobos AssignedTo: verylonglogin.reg gmail.com ReportedBy: verylonglogin.reg gmail.com 17:07:04 MSD --- Insted it should throw if range with non default contructable elements is exhausted: --- import std.exception, std.range; void main() { static struct S { disable this(); } static assert(__traits(compiles, zip((S[5]).init[]))); // assert fails // This is assumed to compile and pass: assertThrown(zip(StoppingPolicy.longest, cast(S[]) null, new int[1]).front); } --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11196 17:09:22 MSD --- https://github.com/D-Programming-Language/phobos/pull/1619 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11196 Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/6788a62506f7638c7f7a19637bad9d536b378cb6 Fix Issue 11196 - `std.range.zip` fails to compile if range elements aren't default contructable Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=11196 https://github.com/D-Programming-Language/phobos/commit/af32ce421480369733c2b62c17a00eb3689655fe Fix Issue 11196 - `std.range.zip` fails to compile if range elements aren't default contructable -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11196 Denis Shelomovskij <verylonglogin.reg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 19 2013