Is there ANY chance we can fix the bitwise operator precedence rules?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Mon Jun 21 13:31:09 PDT 2010
On 06/21/2010 03:08 PM, Don wrote:
> Andrei Alexandrescu wrote:
>> On 06/19/2010 06:58 AM, Don wrote:
>>> Andrei Alexandrescu wrote:
>>>> Don wrote:
>>>> [snip]
>>>>> Or is too late to break backwards compatibility with B ?
>>>>
>>>> We can and should do it. It won't impact TDPL adversely.
>>>
>>> Excellent! I'll make a patch for it when I have time.
>>
>> Walter just gave the green light, so Don - it's up to you.
>
> I patched my DMD. Quite successful. It caught 8 bugs in Phobos, in code
> written by at least 4 different people. I think everyone gets stung by
> that B.
This is pretty amazing. Can't wait to see the checkin!
It might be interesting to see how many bugs are caught by restricting
the switch statement.
Andrei
More information about the Digitalmars-d
mailing list