October 22, 2013 [Issue 11319] New: std.range.zip is not yet nothrow | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11319 Summary: std.range.zip is not yet nothrow Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2013-10-21 17:42:45 PDT --- import std.range: zip; void main() nothrow { foreach (p; zip([1], [2])) {} } dmd 2.064beta2 gives: test.d(3): Error: 'std.range.Zip!(int[], int[]).Zip.empty' is not nothrow test.d(3): Error: 'std.range.Zip!(int[], int[]).Zip.popFront' is not nothrow test.d(2): Error: function 'D main' is nothrow yet may throw -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation