On Mon, 23 May 2011 09:59:01 -0400, Steven Schveighoffer
<schvei...@yahoo.com> wrote:
On Mon, 23 May 2011 09:32:47 -0400, Timon Gehr <timon.g...@gmx.ch> wrote:
Steven Schveighoffer wrote:
it's akin to
making:
if(x);
invalid. Yes, it's valid syntax, but it's almost certainly not what the
user wanted. It's special cased for failure, to aid the developer in
writing less buggy programs. This would be a similar change, and I
actually thought it was already in the compiler.
It is in the compiler. It is actually not valid syntax anymore
(disallowed by
grammar and caught by the parser).
When I said I thought it was already in the compiler, I meant the
bizarro function type declaration, not the empty if statement.
I should clarify once again :)
I meant the *change to remove* the bizarro function type declaration. I
thought that was already decided and in the compiler (Don had a whole
thread on this).
-Steve