https://issues.dlang.org/show_bug.cgi?id=21881

--- Comment #3 from Blatnik <[email protected]> ---
I just realized that this is especially annoying when dealing with
multi-dimensional arrays.

float[2] row0 = [1, 2];
float[2] row1 = [3, 4];

float[2][2] matrix = [
  row0[] + row0[], // Error: array operation without destination memory not
allowed.
  row1[] + row1[]  // Error: array operation without destination memory not
allowed.
];

The error message says there is no destination memory even though there clearly
is.

--

Reply via email to