On Thursday, July 05, 2012 01:44:19 Jonathan Andrew wrote:
> The one exception I found to starting literals with 0 is when
> using dates - using the DateTime module (excellent write-up,
> btw!) and having to pass dates like 07/04/09 as 7, 4, 9 without
> the leading 0 is kind of awkward, for me at l
On Wednesday, 4 July 2012 at 00:34:39 UTC, Jonathan M Davis wrote:
On Wednesday, July 04, 2012 02:20:26 ixid wrote:
0.writeln();
This works.
01.writeln();
This doesn't.
etc...
Throw up a series of errors while any other number as the
leading
digit seems to work fine. Why is this?
It
On Wednesday, 4 July 2012 at 01:53:40 UTC, Jonathan M Davis wrote:
On Wednesday, July 04, 2012 03:48:52 ixid wrote:
> 0.writeln();
>
> This works.
It doesn't with 2.058, are we using different versions? Thanks
for adding it to the bug list, I am not knowledgeable enough
about D to judge if so
I think I'm using 2.059 actually.
On Wednesday, July 04, 2012 03:48:52 ixid wrote:
> > 0.writeln();
> >
> > This works.
>
> It doesn't with 2.058, are we using different versions? Thanks
> for adding it to the bug list, I am not knowledgeable enough
> about D to judge if something is a bug or if I've just not
> understood it.
2.
0.writeln();
This works.
It doesn't with 2.058, are we using different versions? Thanks
for adding it to the bug list, I am not knowledgeable enough
about D to judge if something is a bug or if I've just not
understood it.
On Tuesday, July 03, 2012 17:34:21 Jonathan M Davis wrote:
> On Wednesday, July 04, 2012 02:20:26 ixid wrote:
> > 0.writeln();
>
> This works.
>
> > 01.writeln();
>
> This doesn't.
>
> > etc...
> >
> > Throw up a series of errors while any other number as the leading
> > digit seems to work fi
On Wednesday, July 04, 2012 02:20:26 ixid wrote:
> 0.writeln();
This works.
> 01.writeln();
This doesn't.
> etc...
>
> Throw up a series of errors while any other number as the leading
> digit seems to work fine. Why is this?
It's probably an artifact of getting rid of octal literals and is c
0.writeln();
01.writeln();
etc...
Throw up a series of errors while any other number as the leading
digit seems to work fine. Why is this?