Mercurial > projects > ddmd
comparison dmd/TypeReference.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 | af1bebfd96a4 |
children | b0d41ff5e0df |
comparison
equal
deleted
inserted
replaced
177:1475fd394c9e | 178:e3afd1303184 |
---|---|
16 | 16 |
17 class TypeReference : TypeNext | 17 class TypeReference : TypeNext |
18 { | 18 { |
19 this(Type t) | 19 this(Type t) |
20 { | 20 { |
21 register(); | |
21 super(TY.init, null); | 22 super(TY.init, null); |
22 assert(false); | 23 assert(false); |
23 } | 24 } |
24 | 25 |
25 version (DumbClone) { | |
26 } else { | |
27 Type clone() | |
28 { | |
29 assert(false); | |
30 } | |
31 } | |
32 | |
33 override Type syntaxCopy() | 26 override Type syntaxCopy() |
34 { | 27 { |
35 assert(false); | 28 assert(false); |
36 } | 29 } |
37 | 30 |