Implicit enum conversions are a stupid PITA

bearophile bearophileHUGS at lycos.com
Thu Mar 25 15:20:01 PDT 2010


Walter Bright:

> Translating:
> 
>     0177
> 
> in C to:
> 
>     0177
> 
> in D will silently produce a very different result

Nope, here I have suggested to turn leading zeros in syntax errors:
http://d.puremagic.com/issues/show_bug.cgi?id=3837

Bye,
bearophile



More information about the Digitalmars-d mailing list