Improving Compiler Error Messages
Nick Sabalausky
a at a.a
Mon May 3 14:47:23 PDT 2010
"Walter Bright" <newshound1 at digitalmars.com> wrote in message
news:hrncpk$14t2$2 at digitalmars.com...
> Michel Fortin wrote:
>> That's an argument against returning the value of the last statement.
>> It's not an argument about making the last semicolon optional, is it?
>
> Yes, it is an argument against it. It means the semantics can vary
> dramatically depending on whether a ; is present or not.
But that's only true when the language, unlike D, has implicit returns,
right?
More information about the Digitalmars-d
mailing list