Mercurial > projects > ddmd
comparison dmd/TypeSlice.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 |
---|---|
20 import dmd.ScopeDsymbol; | 20 import dmd.ScopeDsymbol; |
21 import dmd.ArrayScopeSymbol; | 21 import dmd.ArrayScopeSymbol; |
22 | 22 |
23 import dmd.type.Util; | 23 import dmd.type.Util; |
24 | 24 |
25 import dmd.DDMDExtensions; | |
26 | |
25 class TypeSlice : TypeNext | 27 class TypeSlice : TypeNext |
26 { | 28 { |
29 mixin insertMemberExtension!(typeof(this)); | |
30 | |
27 Expression lwr; | 31 Expression lwr; |
28 Expression upr; | 32 Expression upr; |
29 | 33 |
30 this(Type next, Expression lwr, Expression upr) | 34 this(Type next, Expression lwr, Expression upr) |
31 { | 35 { |