Mercurial > projects > ddmd
comparison dmd/LineInitExp.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 | e28b18c23469 |
children | e3afd1303184 |
comparison
equal
deleted
inserted
replaced
129:010eb8f0e18d | 130:60bb0fe4563e |
---|---|
20 { | 20 { |
21 type = Type.tint32; | 21 type = Type.tint32; |
22 return this; | 22 return this; |
23 } | 23 } |
24 | 24 |
25 override Expression resolve(Loc loc, Scope sc) | 25 override Expression resolveLoc(Loc loc, Scope sc) |
26 { | 26 { |
27 Expression e = new IntegerExp(loc, loc.linnum, Type.tint32); | 27 Expression e = new IntegerExp(loc, loc.linnum, Type.tint32); |
28 e = e.castTo(sc, type); | 28 e = e.castTo(sc, type); |
29 return e; | 29 return e; |
30 } | 30 } |