[dmd-internals] Type-checked arrays?

Michel Fortin michel.fortin at michelf.com
Tue Jun 14 04:45:57 PDT 2011


Le 2011-06-14 à 4:27, Don Clugston a écrit :

> BTW named arguments for functions has very much in common with named

> arguments for struct initializers, which was finally implemented in
> the last release. That uses two Arrays, one with the argument and the
> other with the name.

It's not a bad idea, but I fear this might become complicated once tuples get expanded in the argument list. That said, how exactly tuples should interact with named argument is an open question.


-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/





More information about the dmd-internals mailing list