Implicit enum conversions are a stupid PITA
Nick Sabalausky
a at a.a
Thu Mar 25 18:15:03 PDT 2010
"Walter Bright" <newshound1 at digitalmars.com> wrote in message
news:hogqkn$uma$2 at digitalmars.com...
> bearophile wrote:
>> Nope, here I have suggested to turn leading zeros in syntax errors:
>> http://d.puremagic.com/issues/show_bug.cgi?id=3837
>
> Right, but that doesn't help those who wish to use leading 0s.
I don't think anyone cares about being able to use leading zeros for a
decimal literal. The primary complaint is that if a leading zero does get
used (either by accident, or by someone who doesn't know that D breaks basic
grade-school number convention), it results in a silent bug.
More information about the Digitalmars-d
mailing list