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

--- Comment #4 from Denis Shelomovskij <verylonglogin....@gmail.com> ---
(In reply to Vladimir Panteleev from comment #3)
> > It produced an undefined result
> 
> In what situation would the result be not what the user expected? The test
> given here works as expected (produces 0,1,4).

I don't now, I can't even guarantee this case exists now because it will
require reading all the implementations in different assembly languages. The
fact an "undefined behaviour" situation produces an expected result for now
doesn't change anything. This functionality is (and was) not officially
supported by array functions implementation. Period.

--

Reply via email to