Mercurial > projects > ddmd
comparison dmd/TypeReference.d @ 187:b0d41ff5e0df
Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
author | Abscissa |
---|---|
date | Tue, 07 Jun 2011 23:37:34 -0400 |
parents | e3afd1303184 |
children |
comparison
equal
deleted
inserted
replaced
186:1a0c1126bc46 | 187:b0d41ff5e0df |
---|---|
12 import dmd.Identifier; | 12 import dmd.Identifier; |
13 import dmd.NullExp; | 13 import dmd.NullExp; |
14 import dmd.CppMangleState; | 14 import dmd.CppMangleState; |
15 import dmd.TY; | 15 import dmd.TY; |
16 | 16 |
17 import dmd.DDMDExtensions; | |
18 | |
17 class TypeReference : TypeNext | 19 class TypeReference : TypeNext |
18 { | 20 { |
21 mixin insertMemberExtension!(typeof(this)); | |
22 | |
19 this(Type t) | 23 this(Type t) |
20 { | 24 { |
21 register(); | 25 register(); |
22 super(TY.init, null); | 26 super(TY.init, null); |
23 assert(false); | 27 assert(false); |