On Tuesday, 14 August 2012 at 16:06:33 UTC, Jacob Carlborg wrote:
I don't know if this works any better:
https://github.com/jacob-carlborg/orange/blob/master/orange/util/Reflection.d#L29
It's a simple implementation.
Nice hack, but when using this on functions you don't control, be
aware that parameter names are officially not considered part of
the API (as it became clear in the named parameter-related
discussions). This implies that e.g. the parameter names of
Phobos functions might change at any time.
David