http://d.puremagic.com/issues/show_bug.cgi?id=7081
Summary: BigInt array slice int assignment Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2011-12-08 04:50:23 PST --- To manage BigInt arrays in a handy way (and in a way uniform with arrays of integers), I'd like this code to work: import std.bigint; void main() { BigInt[5] arr; arr[] = 1; // line 4 arr[1 .. 3] = 2; // line 5 } But with dmd 2.057beta it gives: test.d(4): Error: cannot implicitly convert expression (1) of type int to BigInt[] test.d(5): Error: cannot implicitly convert expression (2) of type int to BigInt[] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------