Errors in TDPL
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Jun 22 16:23:23 PDT 2010
On 06/22/2010 04:53 PM, bearophile wrote:
> Andrei Alexandrescu:
>> you agreed there is no solitary semicolon statement in D,<
>
> This compiles, is this a solitary semicolon statement?
>
> void main() {
> goto FOO;
> FOO:;
> }
Yes. It shouldn't compile. Walter and I agreed that solitary semicolons
are useless (you can always use {} as an empty statement and that
actually makes things clearer to everyone), but it's a low-priority
issue so he hasn't implemented that yet.
Andrei
More information about the Digitalmars-d
mailing list