comparison dmd/DotTypeExp.d @ 178:e3afd1303184

Many small bugs fixed Made all classes derive from TObject to detect memory leaks (functionality is disabled for now) Began work on overriding backend memory allocations (to avoid memory leaks)
author korDen
date Sun, 17 Oct 2010 07:42:00 +0400
parents 010eb8f0e18d
children b0d41ff5e0df
comparison
equal deleted inserted replaced
177:1475fd394c9e 178:e3afd1303184
20 { 20 {
21 Dsymbol sym; 21 Dsymbol sym;
22 22
23 this(Loc loc, Expression e, Dsymbol s) 23 this(Loc loc, Expression e, Dsymbol s)
24 { 24 {
25 register();
25 super(loc, TOK.TOKdottype, DotTypeExp.sizeof, e); 26 super(loc, TOK.TOKdottype, DotTypeExp.sizeof, e);
26 this.sym = s; 27 this.sym = s;
27 this.type = s.getType(); 28 this.type = s.getType();
28 } 29 }
29 30