Enum literals, good? bad? what do you think?

Basile B. b2.temp at gmx.com
Thu Jul 22 09:01:26 UTC 2021


On Thursday, 22 July 2021 at 08:51:12 UTC, Basile B. wrote:
> On Thursday, 22 July 2021 at 08:41:55 UTC, Patrick Schluter
>> Yes, that's indeed a problem but IMHO it's a bug due to int 
>> promotion rule.
>
> Yes it is definitively a bug, I know it already but I could not 
> resist to recall to the community that it exists, as your 
> example matched _perfectly_.
>
> sorry ;)

bugzilla:

https://issues.dlang.org/show_bug.cgi?id=6226
https://issues.dlang.org/show_bug.cgi?id=21460





More information about the Digitalmars-d mailing list