On Friday, 17 April 2020 at 16:54:42 UTC, Adam D. Ruppe wrote:
void main() { import std.stdio; writeln(ParameterDefaults!f.stringof); }and it is fine.
Well, can't do. I need this purely at compile time, and cross-module. That's for supporting UDAs and default parameter values in openmethods. If you want a peek at what I am up to, see here: https://github.com/jll63/openmethods.d/blob/bolts-reflection/source/bolts/reflection/metafunction.d