This dmd internal bug (or lack of a bug?) blew my mind, thought I'd share:
July 24 When you use the wrong bitmask, but is works out anyway | ||||
---|---|---|---|---|
| ||||
July 24 Re: When you use the wrong bitmask, but is works out anyway | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dennis | On Wednesday, 24 July 2024 at 20:15:51 UTC, Dennis wrote: >This dmd internal bug (or lack of a bug?) blew my mind, thought I'd share: This is why I think that a proper internal type is required for manipulating bit sets. The AndExp and its consort dont see the relationship between the operands (they are even promoted to That reminds a bug reported a long time ago: switching over an enum is not safe at all because the switch condition is then promoted to |
Copyright © 1999-2021 by the D Language Foundation