Druntime git HEAD broke array ops

matheus m at g.com
Tue Apr 9 11:10:22 UTC 2019


On Tuesday, 9 April 2019 at 05:28:29 UTC, Seb wrote:
> ...
> This should hopefully fix the problem: 
> https://github.com/dlang/druntime/pull/2550

I was taking a looking over the fix: 
https://github.com/dlang/druntime/pull/2550/commits/4a79c5f95c3656c3523955b56ba9189c10f8fdb3

And the test case scenario is only one and exactly the problem 
pointed by H.S. Teoh.

Wouldn't be better to take the change and adding more cases?

For example, what would happen if it were more the one value in 
the array and some of the values were negative?

I mean wouldn't be the case to expand the test case? Because the 
way it seems it was narrowed to the exactly problem and tomorrow 
other problems may appear.

Matheus.


More information about the Digitalmars-d mailing list