[Issue 12007] cartesianProduct does'nt work with immutable ranges
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 26 23:27:22 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12007
--- Comment #1 from matovitch <camille.brugel at laposte.net> 2014-01-26 23:27:21 PST ---
The compiler message :
/usr/include/dmd/phobos/std/range.d(4199): Error: cannot modify struct
result._ranges_field_1 Take!(Repeat!(immutable(int))) with immutable members
/usr/include/dmd/phobos/std/range.d(4503): Error: template instance
std.range.Zip!(int[], Take!(Repeat!(immutable(int)))) error instantiating
test.d(8): instantiated from here: zip!(int[],
Take!(Repeat!(immutable(int))))
test.d(8): Error: template instance std.range.zip!(int[],
Take!(Repeat!(immutable(int)))) error instantiating
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list