is this right??

hasen hasan.aljudy at gmail.com
Tue Jun 16 21:50:44 PDT 2009


hasen wrote:
> BCS wrote:
>> void main()
>> {
>>  int s;
>>  mixin("s") = 5;
>> }
>> -----
>> Line 4: found '=' when expecting ';'
>>
>>
>> http://www.digitalmars.com/d/1.0/expression.html#MixinExpression
>>
>>
> 
> mixin *expression*
> 
> (4+3) = 5;
> 

Oh, never mind,

AssignExpression can be of the form:

ConditionalExpression = AssignExpression

my bad.


More information about the Digitalmars-d-learn mailing list