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

--- Comment #5 from Bartek Siudeja <[email protected]> ---
If you do know a workaround I could use, I would be really grateful. 

Was checking some other options. Even changing opIndex into something like:

float4 test(size_t idx)
{ 
    float4 temp = arr[idx];
    return temp; 
}

does not help. So this seems about the return value of a function.

--

Reply via email to