You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Ryuichi OHORI reported this on 2013-06-26T09:08:49Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=10476
CC List
Description
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.The text was updated successfully, but these errors were encountered: