comparison dmd/ShlAssignExp.d @ 130:60bb0fe4563e

dmdfe 2.037 first main iteration
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Thu, 09 Sep 2010 22:51:44 +0100
parents fe941d774f4a
children 206db751bd4c
comparison
equal deleted inserted replaced
129:010eb8f0e18d 130:60bb0fe4563e
33 33
34 e = op_overload(sc); 34 e = op_overload(sc);
35 if (e) 35 if (e)
36 return e; 36 return e;
37 37
38 if (e1.op == TOK.TOKarraylength)
39 {
40 e = ArrayLengthExp.rewriteOpAssign(this);
41 e = e.semantic(sc);
42 return e;
43 }
44
38 e1 = e1.modifiableLvalue(sc, e1); 45 e1 = e1.modifiableLvalue(sc, e1);
39 e1.checkScalar(); 46 e1.checkScalar();
40 e1.checkNoBool(); 47 e1.checkNoBool();
41 type = e1.type; 48 type = e1.type;
42 typeCombine(sc); 49 typeCombine(sc);