Mercurial > projects > ddmd
comparison dmd/TemplateInstance.d @ 90:39648eb578f6
more Expressions work
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Mon, 30 Aug 2010 20:27:56 +0100 |
parents | be2ab491772e |
children | 21a53563c840 |
comparison
equal
deleted
inserted
replaced
88:23280d154c5b | 90:39648eb578f6 |
---|---|
910 goto Ltype; | 910 goto Ltype; |
911 } | 911 } |
912 if (ea.op == TOKtuple) | 912 if (ea.op == TOKtuple) |
913 { | 913 { |
914 // Expand tuple | 914 // Expand tuple |
915 TupleExp te = cast(TupleExp)ea; | 915 auto te = cast(TupleExp)ea; |
916 size_t dim = te.exps.dim; | 916 size_t dim = te.exps.dim; |
917 tiargs.remove(j); | 917 tiargs.remove(j); |
918 if (dim) | 918 if (dim) |
919 { | 919 { |
920 tiargs.reserve(dim); | 920 tiargs.reserve(dim); |