D is dead
rikki cattermole
rikki at cattermole.co.nz
Fri Aug 24 03:04:11 UTC 2018
On 24/08/2018 1:57 PM, Shachar Shemesh wrote:
> Consider the following line from the weka code base:
>
> _trustedData.opIndex(diskIdx) &= NotBitmap(toDistrust);
>
> That's strange. Why didn't Shachar just do?
>
> _trustedData[diskIdx] &= NotBitmap(toDistrust);
>
> Answer: Because the compiler decided that it needs to call
> _trustedData.opIndexAssign, and then failed the compilation because it
> has none. There is no way that that is a bug in the code. This is a
> compiler bug (maybe since fixed. This is fairly old code).
From now on, please report it as-is and tag it as e.g. unknown_weka or
something. Give us a report once a month or so, on what is open.
It'll be easier to figure out what is going on if we can see the
symptom. Even if it isn't the problem its a step in the right direction.
More information about the Digitalmars-d
mailing list