Mercurial > projects > ddmd
comparison dmd/TypeAArray.d @ 111:2f57c5ecd3b2
tiny fix
author | Trass3r |
---|---|
date | Tue, 31 Aug 2010 22:31:38 +0200 |
parents | e6090d1aea7c |
children | e28b18c23469 |
comparison
equal
deleted
inserted
replaced
110:12c0c84d13fd | 111:2f57c5ecd3b2 |
---|---|
174 * But the instantiation can fail if it is a template specialization field | 174 * But the instantiation can fail if it is a template specialization field |
175 * which has Tident's instead of real types. | 175 * which has Tident's instead of real types. |
176 */ | 176 */ |
177 TemplateInstance ti = new TemplateInstance(loc, Id.AssociativeArray); | 177 TemplateInstance ti = new TemplateInstance(loc, Id.AssociativeArray); |
178 Objects tiargs = new Objects(); | 178 Objects tiargs = new Objects(); |
179 tiargs.push(cast(void*)index); | 179 tiargs.push(index); |
180 tiargs.push(cast(void*)next); | 180 tiargs.push(next); |
181 ti.tiargs = tiargs; | 181 ti.tiargs = tiargs; |
182 | 182 |
183 ti.semantic(sc); | 183 ti.semantic(sc); |
184 ti.semantic2(sc); | 184 ti.semantic2(sc); |
185 ti.semantic3(sc); | 185 ti.semantic3(sc); |