Mercurial > projects > ddmd
comparison dmd/TemplateThisParameter.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 | 438eaa11eed4 |
children | b0d41ff5e0df |
comparison
equal
deleted
inserted
replaced
177:1475fd394c9e | 178:e3afd1303184 |
---|---|
17 Type specType; // type parameter: if !=NULL, this is the type specialization | 17 Type specType; // type parameter: if !=NULL, this is the type specialization |
18 Type defaultType; | 18 Type defaultType; |
19 | 19 |
20 this(Loc loc, Identifier ident, Type specType, Type defaultType) | 20 this(Loc loc, Identifier ident, Type specType, Type defaultType) |
21 { | 21 { |
22 register(); | |
22 super(loc, ident, specType, defaultType); | 23 super(loc, ident, specType, defaultType); |
23 } | 24 } |
24 | 25 |
25 override TemplateThisParameter isTemplateThisParameter() | 26 override TemplateThisParameter isTemplateThisParameter() |
26 { | 27 { |