Mercurial > projects > ddmd
diff dmd/TemplateDeclaration.d @ 126:1765f3ef917d
ClassDeclarations, Arguments -> Vector
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Fri, 03 Sep 2010 23:25:55 +0100 |
parents | 347de076ad34 |
children | e6e542f37b94 |
line wrap: on
line diff
--- a/dmd/TemplateDeclaration.d Fri Sep 03 22:17:54 2010 +0100 +++ b/dmd/TemplateDeclaration.d Fri Sep 03 23:25:55 2010 +0100 @@ -838,10 +838,10 @@ */ for (fptupindex = 0; fptupindex < nfparams; fptupindex++) { - Argument fparam = cast(Argument)fparameters.data[fptupindex]; + auto fparam = fparameters[fptupindex]; if (fparam.type.ty != Tident) continue; - TypeIdentifier tid = cast(TypeIdentifier)fparam.type; + auto tid = cast(TypeIdentifier)fparam.type; if (!tp.ident.equals(tid.ident) || tid.idents.dim) continue;