http://d.puremagic.com/issues/show_bug.cgi?id=4695
Summary: std.range.zip is broken Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: necrom...@gmail.com --- Comment #0 from Max Klyga <necrom...@gmail.com> 2010-08-20 15:12:41 PDT --- import std.range; void main() { auto a = [ 1, 2, 3 ]; immutable b = [ 1, 2, 3 ]; zip(a, b); } outputs: src/phobos/std/range.d(1732): Error: can only initialize const member _field_field_1 inside constructor import std.range; void main() { auto a = [ 1, 2, 3 ]; auto b = [ 'a', 'b', 'c' ]; zip(a, b); } outputs: src/phobos/std/range.d(1773): Error: front(this.ranges._field_field_1) is not an lvalue -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------