import std.stdio;
void main()
{
int[] a; a.length = 3;
uint[] b; b.length = 3;
a[] += b[]; // Error: incompatible types for ((a[]) += (b[])): 'int[]' and 'uint[]'
}
issue 2434 states that we need a way to add _explicit_ casts into arary operation. IMO implicit casts are more frequently used and important.
Comment #1 by yebblies — 2013-11-21T07:36:32Z
*** Issue 10152 has been marked as a duplicate of this issue. ***
Comment #2 by robert.schadek — 2024-12-13T18:08:34Z