https://issues.dlang.org/show_bug.cgi?id=10306
Kenji Hara <k.hara...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Hardware|x86 |All Resolution|--- |FIXED OS|Windows |All --- Comment #3 from Kenji Hara <k.hara...@gmail.com> --- (In reply to bearophile_hugs from comment #0) [snip] All lines work as expected with 2.067. > dmd 2.064alpha gives: > temp.d(7): Error: incompatible types for ((a[] - b[]) ^^ (cast(double)2)): > 'double[]' and 'double' Works since 2.065, fixed by: https://github.com/D-Programming-Language/dmd/pull/2960 > If you comment out line 7 you receive: > temp.d(8): Error: Array operation a[] - b[] not implemented Works since 2.067, fixed by: https://github.com/D-Programming-Language/dmd/pull/4007 --