Why not all statement are expressions ?
Jacob Carlborg
doob at me.com
Tue May 8 05:41:24 PDT 2012
On 2012-05-08 12:27, deadalnix wrote:
> Le 08/05/2012 08:22, Jacob Carlborg a écrit :
>> On 2012-05-07 22:37, deadalnix wrote:
>>
>>> This won't work anyway. We are talking about language grammar here. If
>>> made expression, statement would be of type void. Just like assert is.
>>
>> Says who? :)
>>
>
> OK, make statement expression could open some door. But here isn't the
> point of my question. I don't want to make any proposal without being
> sure of why the decision was made in a first place.
Fair enough.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list