this is almost a workaround for the lack of named parameters

Jacob Carlborg doob at me.com
Mon Mar 25 09:03:37 PDT 2013


On 2013-03-21 19:35, J wrote:

[snip]

I just noticed that Michel Fortin has implemented basic support for 
named parameters. I've updated his code to the latest DMD and pushed it 
to my fork:

https://github.com/jacob-carlborg/dmd/commit/e363a093040c4b14e7e814027c3e199676c82820

 From the commit message:

Add basic support for named parameters.

This will only allow to add the name of the parameter
when calling a function. It doesn't not support passing
the arguments out of order.

All credit goes to Michel Fortin.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list