Mercurial > projects > ddmd
comparison dmd/TupleDeclaration.d @ 126:1765f3ef917d
ClassDeclarations, Arguments -> Vector
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Fri, 03 Sep 2010 23:25:55 +0100 |
parents | e28b18c23469 |
children | 60bb0fe4563e |
comparison
equal
deleted
inserted
replaced
125:767a01c2a272 | 126:1765f3ef917d |
---|---|
82 Identifier id = new Identifier(name, TOKidentifier); | 82 Identifier id = new Identifier(name, TOKidentifier); |
83 auto arg = new Argument(STCin, t, id, null); | 83 auto arg = new Argument(STCin, t, id, null); |
84 } else { | 84 } else { |
85 auto arg = new Argument(STCundefined, t, null, null); | 85 auto arg = new Argument(STCundefined, t, null, null); |
86 } | 86 } |
87 args.data[i] = cast(void *)arg; | 87 args[i] = arg; |
88 if (!t.deco) | 88 if (!t.deco) |
89 hasdeco = false; | 89 hasdeco = false; |
90 } | 90 } |
91 | 91 |
92 tupletype = new TypeTuple(args); | 92 tupletype = new TypeTuple(args); |