Druntime git HEAD broke array ops
H. S. Teoh
hsteoh at quickfur.ath.cx
Tue Apr 9 04:35:33 UTC 2019
I wasted all day today trying to track down a sudden test suite breakage
in one of my major D projects after upgrading to the latest dmd
toolchain, and found that the latest druntime broke array operations:
double[] src = [ 0.5 ];
double[] dest;
dest.length = src.length;
dest[] = -src[];
The expected contents of dest is [ -0.5 ], but the actual result is
[ 0.0 ].
https://issues.dlang.org/show_bug.cgi?id=19796
Git bisect narrowed down the cause to PR #1982 (commit d7b99e91e).
T
--
Windows: the ultimate triumph of marketing over technology. -- Adrian von Bidder
More information about the Digitalmars-d
mailing list